Income Taxes - Additional Information (Details) - USD ($) |
3 Months Ended | 9 Months Ended | ||
|---|---|---|---|---|
Jan. 31, 2024 |
Jan. 31, 2023 |
Jan. 31, 2024 |
Jan. 31, 2023 |
|
| Income Tax Disclosure [Abstract] | ||||
| Income tax expense/(benefit) | $ 13,000 | $ (125,000) | $ 28,000 | $ (98,000) |
| Effective tax rate | (0.40%) | 4.20% | (0.40%) | 1.20% |
| Discrete tax expense | $ 127,000 | |||
| 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 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 | ||||||||||
- Definition Amount of increase (decrease) to previously recorded tax expense. Includes, but is not limited to, significant settlements of income tax disputes, and unusual tax positions or infrequent actions taken by the entity, including tax assessment reversal, and IRS tax settlement. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|