Schedule II: Valuation and Qualifying Accounts (Details) - USD ($) $ in Thousands |
12 Months Ended | ||
|---|---|---|---|
Jan. 31, 2020 |
Jan. 31, 2019 |
Jan. 31, 2018 |
|
| Accounts receivable allowances | |||
| SEC Schedule, 12-09, Movement in Valuation Allowances and Reserves [Roll Forward] | |||
| Balance at Beginning of Year | $ 2,071 | $ 560 | $ 922 |
| Additions | 8,583 | 3,763 | 1,284 |
| Write-offs or Deductions | (3,020) | (2,252) | (1,646) |
| Balance at End of Year | 7,634 | 2,071 | 560 |
| Deferred tax asset valuation allowance | |||
| SEC Schedule, 12-09, Movement in Valuation Allowances and Reserves [Roll Forward] | |||
| Balance at Beginning of Year | 877 | 3,154 | 6,220 |
| Additions | 35,476 | 0 | 0 |
| Write-offs or Deductions | 0 | (2,277) | (3,066) |
| Balance at End of Year | $ 36,353 | $ 877 | $ 3,154 |