Restructuring Charges, Net - Additional Information (Details) - USD ($) $ in Thousands |
12 Months Ended | |||
|---|---|---|---|---|
Apr. 30, 2026 |
Apr. 30, 2025 |
Apr. 30, 2024 |
Apr. 30, 2023 |
|
| Restructuring Cost And Reserve [Line Items] | ||||
| Restructuring charges, net | $ 0 | $ 1,892 | $ 68,558 | |
| Severance | The "Plan" | ||||
| Restructuring Cost And Reserve [Line Items] | ||||
| Restructuring charges, net | 0 | 1,892 | 68,558 | |
| Restructuring liability | $ 0 | $ 169 | $ 3,904 | $ 8,004 |
| X | ||||||||||
- Definition Amount of expenses associated with exit or disposal activities pursuant to an authorized plan. Excludes expenses related to a discontinued operation or an asset retirement obligation. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| 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/disclosureRef
|
| X | ||||||||||
- Definition Carrying amount (including both current and noncurrent portions of the accrual) as of the balance sheet date pertaining to a specified type of cost associated with exit from or disposal of business activities or restructuring pursuant to a duly authorized plan. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|