Schedule II: Valuation and Qualifying Accounts (Details) - USD ($) $ in Thousands |
12 Months Ended | ||
|---|---|---|---|
Jan. 31, 2024 |
Jan. 31, 2023 |
Jan. 31, 2022 |
|
| Accounts receivable allowances | |||
| SEC Schedule, 12-09, Movement in Valuation Allowances and Reserves [Roll Forward] | |||
| Balance at Beginning of Year | $ 33,206 | $ 24,696 | $ 36,844 |
| Additions | 52,730 | 57,142 | 50,467 |
| Write-offs or Deductions | (53,565) | (48,632) | (62,615) |
| Balance at End of Year | 32,371 | 33,206 | 24,696 |
| Deferred tax asset valuation allowance | |||
| SEC Schedule, 12-09, Movement in Valuation Allowances and Reserves [Roll Forward] | |||
| Balance at Beginning of Year | 53,570 | 12,605 | 335,051 |
| Additions | 599 | 40,965 | 5,511 |
| Write-offs or Deductions | (18,220) | 0 | (327,957) |
| Balance at End of Year | $ 35,949 | $ 53,570 | $ 12,605 |