Schedule II: Valuation and Qualifying Accounts (Details) - USD ($) $ in Thousands |
12 Months Ended | ||
|---|---|---|---|
Jan. 31, 2021 |
Jan. 31, 2020 |
Jan. 31, 2019 |
|
| SEC Schedule, 12-09, Movement in Valuation Allowances and Reserves [Roll Forward] | |||
| Current Fiscal Year End Date | --01-31 | ||
| Accounts receivable allowances | |||
| SEC Schedule, 12-09, Movement in Valuation Allowances and Reserves [Roll Forward] | |||
| Balance at Beginning of Year | $ 7,634 | $ 2,071 | $ 560 |
| Additions | 47,405 | 8,583 | 3,763 |
| Write-offs or Deductions | (18,195) | (3,020) | (2,252) |
| Balance at End of Year | 36,844 | 7,634 | 2,071 |
| Deferred tax asset valuation allowance | |||
| SEC Schedule, 12-09, Movement in Valuation Allowances and Reserves [Roll Forward] | |||
| Balance at Beginning of Year | 36,353 | 877 | 3,154 |
| Additions | 298,698 | 35,476 | 0 |
| Write-offs or Deductions | 0 | 0 | (2,277) |
| Balance at End of Year | $ 335,051 | $ 36,353 | $ 877 |