Financial Instruments - Additional Information (Details) - USD ($) |
3 Months Ended | |
|---|---|---|
Jul. 31, 2026 |
Jul. 31, 2025 |
|
| Investments, All Other Investments [Abstract] | ||
| Marketable securities classified as available-for-sale | $ 0 | |
| Sale/maturities of available-for-sale marketable securities | 45,900,000 | $ 8,800,000 |
| Unrealized (loss) gain related to equity securities | $ (34,000,000.0) | $ 10,300,000 |
| X | ||||||||||
- Definition Amount of unrealized gain (loss) on investment in equity security measured at fair value with change in fair value recognized in net income (FV-NI). Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition Amount of investment in marketable security. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount of cash inflow from sale, maturity, prepayment and call of 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/2009/role/commonPracticeRef
|