Fair Value Measurement - Additional Information (Details) - USD ($) |
3 Months Ended | ||
|---|---|---|---|
Jul. 31, 2026 |
Jul. 31, 2025 |
Apr. 30, 2026 |
|
| Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | |||
| Credit losses | $ 0 | $ 0 | |
| Allowance for credit losses | 0 | 0 | |
| Transfers into or out of the Level 1, 2 or 3 fair value hierarchies | 0 | $ 0 | |
| Gain on extinguishment of debt | (6,304,000) | ||
| 2026 Term Loan | |||
| Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | |||
| Gain on extinguishment of debt | 1,620,000 | ||
| Level 2 | |||
| Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | |||
| Fair value of long-term debt, net of discounts | $ 72,495,000 | $ 47,700,000 | |
| X | ||||||||||
- Definition Amount of allowance for credit loss on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of transfer of financial instrument classified as an asset into (out of) level 3 of the fair value hierarchy. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount of realized and unrealized gain (loss) on investment. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Difference between the fair value of payments made and the carrying amount of debt which is extinguished prior to maturity. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition The fair value amount of long-term debt whether such amount is presented as a separate caption or as a parenthetical disclosure. Additionally, this element may be used in connection with the fair value disclosures required in the footnote disclosures to the financial statements. The element may be used in both the balance sheet and disclosure in the same submission. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|