Stock-Based Compensation - Costs Not Yet Recognized (Details) $ in Thousands  | 
12 Months Ended | 
|---|---|
| 
 Jan. 31, 2022  
USD ($) 
 | |
| Options to purchase common stock | |
| Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | |
| Unrecognized expense | $ 44,126 | 
| Weighted average expense recognition period | 2 years 9 months 18 days | 
| Performance share units | |
| Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | |
| Unrecognized expense | $ 2,736 | 
| Weighted average expense recognition period | 3 years 1 month 6 days | 
| Restricted stock units | |
| Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | |
| Unrecognized expense | $ 12,303 | 
| Weighted average expense recognition period | 3 years 6 months | 
| ESPP | |
| Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | |
| Unrecognized expense | $ 9,235 | 
| Weighted average expense recognition period | 10 months 24 days | 
| X | ||||||||||
- Definition Amount of cost not yet recognized for nonvested award under share-based payment arrangement. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
  | 
| X | ||||||||||
- Definition Weighted-average period over which cost not yet recognized is expected to be recognized for award under share-based payment arrangement, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. 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 | ||||||||||
- Details 
  | 
| X | ||||||||||
- Details 
  | 
| X | ||||||||||
- Details 
  | 
| X | ||||||||||
- Details 
  |