Fair Value Measurements - Reconciliation of Level 3 instruments (Details) - USD ($) $ in Thousands  | 
3 Months Ended | |
|---|---|---|
Apr. 30, 2022  | 
Apr. 30, 2021  | 
|
| Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward] | ||
| Fair value as of beginning period | $ 28,199 | $ 900 | 
| Unrealized gains (losses) recognized as other income | (10,106) | (100) | 
| Fair value as of Ending period | $ 18,093 | $ 800 | 
| Fair Value, Recurring Basis, Unobservable Input Reconciliation, Liability, Gain (Loss), Statement of Income [Extensible List] | Other Nonoperating Income (Expense) | Other Nonoperating Income (Expense) | 
| X | ||||||||||
- Definition A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period. No definition available. 
  | 
| X | ||||||||||
- Definition Amount of gain (loss) recognized in income from liability measured at fair value on recurring basis using unobservable input (level 3). Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
  | 
| X | ||||||||||
- Definition Fair value of financial instrument classified as a liability measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
  | 
| X | ||||||||||
- Definition Indicates line item in statement in which net income is reported that includes gain (loss) from liability measured at fair value using unobservable input (level 3). Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
  |