Schedule II: Valuation and Qualifying Accounts (Details) - USD ($) $ in Thousands |
12 Months Ended | ||
|---|---|---|---|
Jan. 31, 2022 |
Jan. 31, 2021 |
Jan. 31, 2020 |
|
| Accounts receivable allowances | |||
| SEC Schedule, 12-09, Movement in Valuation Allowances and Reserves [Roll Forward] | |||
| Balance at Beginning of Year | $ 36,844 | $ 7,634 | $ 2,071 |
| Additions | 50,467 | 47,405 | 8,583 |
| Write-offs or Deductions | (62,615) | (18,195) | (3,020) |
| Balance at End of Year | 24,696 | 36,844 | 7,634 |
| Deferred tax asset valuation allowance | |||
| SEC Schedule, 12-09, Movement in Valuation Allowances and Reserves [Roll Forward] | |||
| Balance at Beginning of Year | 335,051 | 36,353 | 877 |
| Additions | 5,511 | 298,698 | 35,476 |
| Write-offs or Deductions | (327,957) | 0 | 0 |
| Balance at End of Year | $ 12,605 | $ 335,051 | $ 36,353 |