Income Taxes - Narrative (Details) - USD ($) $ in Thousands  | 
Jan. 31, 2022  | 
Jan. 31, 2021  | 
|---|---|---|
| Operating Loss Carryforwards [Line Items] | ||
| Valuation allowance | $ 98,093 | $ 73,299 | 
| Foreign earnings | 48,900 | |
| Domestic Tax Authority | ||
| Operating Loss Carryforwards [Line Items] | ||
| Operating loss carryforwards | 395,400 | |
| State and Local Jurisdiction | ||
| Operating Loss Carryforwards [Line Items] | ||
| Operating loss carryforwards | 287,100 | |
| Foreign Tax Authority | ||
| Operating Loss Carryforwards [Line Items] | ||
| Operating loss carryforwards | $ 14,700 | 
| X | ||||||||||
- Definition Amount of deferred tax assets for which it is more likely than not that a tax benefit will not be realized. Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
  | 
| X | ||||||||||
- Definition Amount of operating loss carryforward, before tax effects, available to reduce future taxable income under enacted tax laws. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
  | 
| X | ||||||||||
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. No definition available. 
  | 
| X | ||||||||||
- Definition Amount of undistributed earnings of foreign subsidiaries intended to be permanently reinvested outside the country of domicile. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
  | 
| X | ||||||||||
- Details 
  | 
| X | ||||||||||
- Details 
  | 
| X | ||||||||||
- Details 
  |