Fair Value Measurements - Additional Information (Details) - USD ($) |
3 Months Ended | 6 Months Ended | ||
|---|---|---|---|---|
Jul. 31, 2026 |
Jul. 31, 2025 |
Jul. 31, 2026 |
Jul. 31, 2025 |
|
| Location, Statement of Income, Balance [Axis]: us-gaap:NonoperatingIncomeExpense | ||||
| Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | ||||
| Recognized gain (loss) related to change in fair value of derivative liabilities | $ (100,000) | $ 300,000 | $ (100,000) | $ 400,000 |
| MW Call Option | ||||
| Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | ||||
| Other components to change its fair value of call option | 0 | 0 | ||
| MW Call Option | Location, Statement of Income, Balance [Axis]: us-gaap:NonoperatingIncomeExpense | ||||
| Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | ||||
| Recognized gain (loss) related to change in fair value of derivative liabilities | $ (400,000) | $ 100,000 | $ 300,000 | $ (500,000) |