| Debt - Interest Expense (Details) - USD ($) $ in Thousands | 12 Months Ended | ||
|---|---|---|---|
| Jan. 31, 2022 | Jan. 31, 2021 | Jan. 31, 2020 | |
| Debt Disclosure [Abstract] | |||
| Interest expense at coupon rate | $ 3,182 | $ 5,390 | $ 0 | 
| Amortization of debt discounts and issuance costs | 84 | 133 | 0 | 
| Total interest expense | $ 3,266 | $ 5,523 | $ 0 | 
| X | ||||||||||
| 
- Definition Amount of amortization expense attributable to debt discount (premium) and debt issuance costs. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef 
 | 
| X | ||||||||||
| 
- References No definition available. 
 | 
| X | ||||||||||
| 
- Definition Amount of the cost of borrowed funds accounted for as interest expense for debt. Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
 | 
| X | ||||||||||
| 
- Definition Represents the portion of interest incurred in the period on debt arrangements that was charged against earnings, excluding amortization of debt discount (premium) and financing costs. Reference 1: http://www.xbrl.org/2003/role/exampleRef 
 |