Intangible Assets, Net - Additional Information (Details) - USD ($) $ in Millions |
3 Months Ended | 9 Months Ended | ||
|---|---|---|---|---|
Jan. 31, 2024 |
Jan. 31, 2023 |
Jan. 31, 2024 |
Jan. 31, 2023 |
|
| Finite-Lived Intangible Assets [Line Items] | ||||
| Amortization expense of intangible assets | $ 3.3 | $ 3.6 | $ 9.7 | $ 10.4 |
| Weighted-average period for amortization of intangible assets | 5 years | |||
| Customer Relationships | ||||
| Finite-Lived Intangible Assets [Line Items] | ||||
| Weighted-average period for amortization of intangible assets | 5 years | |||
| Developed Software and Technology | ||||
| Finite-Lived Intangible Assets [Line Items] | ||||
| Weighted-average period for amortization of intangible assets | 6 years | |||
| Patents, Trademarks, and Trade Names | ||||
| Finite-Lived Intangible Assets [Line Items] | ||||
| Weighted-average period for amortization of intangible assets | 6 years | |||