Balance Sheet Components - Schedule of Other Liabilities Non Current (Details) - USD ($) $ in Thousands |
Jan. 31, 2020 |
Jan. 31, 2019 |
|---|---|---|
| Organization, Consolidation and Presentation of Financial Statements [Abstract] | ||
| Accrual for taxes other than income taxes, noncurrent | $ 33,957 | $ 20,817 |
| Convertible promissory notes, net of debt discount | 0 | 14,858 |
| Other | 2,329 | 3,785 |
| Other liabilities, noncurrent | $ 36,286 | $ 39,460 |