Investments - Additional Information (Details) - USD ($) |
12 Months Ended | ||
|---|---|---|---|
Jun. 30, 2026 |
Jun. 30, 2025 |
Jun. 30, 2024 |
|
| Investments, All Other Investments [Abstract] | |||
| Gross proceeds from matured or redeemed securities | $ 1,000,000,000.0 | $ 1,300,000,000 | $ 1,500,000,000 |
| Equity securities held at cost | 40,396,000 | 40,277,000 | |
| Impairment loss | 0 | 4,600,000 | 14,100,000 |
| Equity securities, upward adjustment | 0 | $ 2,600,000 | 0 |
| Equity securities, downward adjustment | $ 0 | $ 0 | |
| X | ||||||||||
- Definition Amount of investment in equity security without readily determinable fair value. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount of loss from downward price adjustment on investment in equity security without readily determinable fair value. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of impairment loss on investment in equity security without readily determinable fair value. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of gain from upward price adjustment on investment in equity security without readily determinable fair value. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition The cash inflow associated with the aggregate amount received by the entity through sale or maturity of marketable securities (held-to-maturity or available-for-sale) during the period. No definition available.
|