Fair Value Measurements - Summary of Changes in Fair Value of Company's Level 3 Financial Liabilities (Details) - USD ($) $ in Thousands |
3 Months Ended | |
|---|---|---|
Aug. 31, 2026 |
Aug. 31, 2025 |
|
| Fair Value, Net Derivative Asset (Liability) Measured on Recurring Basis, Unobservable Input Reconciliation [Roll Forward] | ||
| Gain on change in fair value of warrants | $ (22) | $ 0 |
| Warrant liabilities | ||
| Fair Value, Net Derivative Asset (Liability) Measured on Recurring Basis, Unobservable Input Reconciliation [Roll Forward] | ||
| Balance as of May 31, 2026 | 5,454 | |
| Gain on change in fair value of warrants | (22) | |
| Balance as of August 31, 2026 | $ 5,432 | |