Income Taxes - Summary of Reconciliation of Income Taxes Statutory Income Tax Rate to Provision for Income Taxes (Details) - USD ($) $ in Thousands |
12 Months Ended | ||
|---|---|---|---|
Apr. 30, 2026 |
Apr. 30, 2025 |
Apr. 30, 2024 |
|
| Tax | |||
| Dutch statutory income tax | $ (594) | $ (8,145) | $ (31,671) |
| Foreign income taxed at different rates | (5,561) | (2,406) | |
| Tax credits | (13,508) | (10,149) | |
| Stock-based compensation | (9,282) | (10,296) | |
| Change in valuation allowance | 48,539 | (186,166) | |
| Intellectual property migration | 610 | 7,353 | |
| BEAT waiver election | 45,321 | 40,141 | |
| FDII exclusion | (2,241) | (2,328) | |
| Executive compensation | 6,523 | 4,091 | |
| Foreign withholding taxes | 2,701 | 2,864 | |
| State taxes | 6,867 | 1,866 | |
| Unrecognized tax benefit | 6,713 | 1,406 | |
| Tax credit add-back | 1,215 | 950 | |
| Meals and entertainment | 42 | 598 | 566 |
| Prior-year true-ups | (3,680) | (846) | |
| Other | (125) | 149 | |
| Total (benefit from) provision for income taxes | $ (370,067) | $ 76,545 | $ (184,476) |
| Rate | |||
| Dutch statutory income tax | 25.80% | 25.80% | 25.80% |
| Foreign income taxed at different rates | 17.60% | 2.00% | |
| Tax credits | 42.80% | 8.30% | |
| Stock-based compensation | 29.40% | 8.40% | |
| Change in valuation allowance | (153.80%) | 151.60% | |
| Intellectual property migration | (1.90%) | (6.00%) | |
| BEAT waiver election | (143.60%) | (32.70%) | |
| FDII exclusion | 7.10% | 1.90% | |
| Executive compensation | (20.70%) | (3.30%) | |
| Foreign withholding taxes | (8.60%) | (2.30%) | |
| State taxes | (21.80%) | (1.50%) | |
| Unrecognized tax benefit | (21.30%) | (1.10%) | |
| Tax credit add-back | (3.80%) | (0.80%) | |
| Meals and entertainment | (1.80%) | (1.90%) | (0.50%) |
| Prior-year true-ups | 11.70% | 0.70% | |
| Other | 0.50% | (0.20%) | |
| Effective tax rate | 16085.00% | (242.50%) | 150.30% |
| X | ||||||||||
- Definition Effective Income Tax Rate Reconciliation, Intellectual Property (“IP”) migration, Amount No definition available.
|
| X | ||||||||||
- Definition Effective Income Tax Rate Reconciliation, Intellectual Property (“IP”) migration, Percent No definition available.
|
| X | ||||||||||
- Definition Effective Income Tax Rate Reconciliation, Tax Credit Add-Back, Amount No definition available.
|
| X | ||||||||||
- Definition Effective Income Tax Rate Reconciliation, Tax Credit Add-Back, Percent No definition available.
|
| X | ||||||||||
- Definition Effective Income Tax Rate Reconciliation, Tax Expense (Benefit), Executive compensation, Amount No definition available.
|
| X | ||||||||||
- Definition Effective Income Tax Rate Reconciliation, Tax Expense (Benefit), Executive compensation, Percent No definition available.
|
| X | ||||||||||
- Definition Effective Income Tax Rate Reconciliation, Unrecognized Tax Benefit, Amount No definition available.
|
| X | ||||||||||
- Definition Effective Income Tax Rate Reconciliation, Unrecognized Tax Benefit, Percent No definition available.
|
| X | ||||||||||
- Definition Percentage of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition Percentage of domestic federal statutory tax rate applicable to pretax income (loss). Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of reported income tax expense from difference to expected income tax expense (benefit) computed by applying domestic federal statutory income tax rate to pretax income (loss) from continuing operations, attributable to base erosion and anti-abuse tax (BEAT). Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Percentage of reported income tax expense from difference to expected income tax expense (benefit) computed by applying domestic federal statutory income tax rate to pretax income (loss) from continuing operations, attributable to base erosion and anti-abuse tax (BEAT). Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Percentage of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to changes in the valuation allowance for deferred tax assets. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount of reported income tax benefit from difference to expected income tax expense (benefit) computed by applying domestic federal statutory income tax rate to pretax income (loss) from continuing operations, attributable to foreign-derived deduction eligible income (FDDEI) (formerly referred to as foreign-derived intangible income (FDII)). Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Percentage of reported income tax benefit from difference to income tax expense (benefit) computed by applying domestic federal statutory income tax rate to pretax income (loss) from continuing operation, attributable to foreign-derived deduction eligible income (FDDEI) (formerly referred to as foreign-derived intangible income (FDII)). Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Percentage of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations applicable to statutory income tax expense (benefit) outside of the country of domicile. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Percentage of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to meals and entertainment expense. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Percentage of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to other adjustments. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Percentage of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to revisions of previously reported income tax expense. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount of difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying domestic federal statutory income tax rate to pretax income (loss) from continuing operation, attributable to expense for award under share-based payment arrangement. Excludes expense determined to be nondeductible upon grant or after for award under share-based payment arrangement. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Percentage of difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying domestic federal statutory income tax rate to pretax income (loss) from continuing operation, attributable to expense for award under share-based payment arrangement. Excludes expense determined to be nondeductible upon grant or after for award under share-based payment arrangement. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Percentage of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations applicable to state and local income tax expense (benefit), net of federal tax expense (benefit). Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Percentage of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to tax credits. Including, but not limited to, research credit, foreign tax credit, investment tax credit, and other tax credits. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Percentage of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to foreign income tax settlement. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition Amount of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to increase (decrease) in the valuation allowance for deferred tax assets. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to foreign income tax expense (benefit). Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition The amount of income tax expense or benefit for the period computed by applying the domestic federal statutory tax rates to pretax income from continuing operations. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to nondeductible meals and entertainment expense. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to other adjustments. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to revisions of previously reported income tax expense (benefit). Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to state and local income tax expense (benefit). Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to tax credits. Including, but not limited to, research credit, foreign tax credit, investment tax credit, and other tax credits. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to foreign income tax settlement. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|