| Fair Value Measurements - Reconciliation of Level 3 instruments (Details) - USD ($) $ in Thousands | 3 Months Ended | 6 Months Ended | 
|---|---|---|
| Jul. 31, 2022 | Jul. 31, 2022 | |
| Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward] | ||
| Fair value as of beginning period | $ 18,093 | $ 28,199 | 
| Unrealized gains (losses) recognized as other income | (6,846) | (16,952) | 
| Fair value as of Ending period | $ 11,247 | $ 11,247 | 
| 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 
 |