Income Taxes - Schedule of Unrecognized Tax Benefits (Details) - USD ($) $ in Thousands |
12 Months Ended | ||
|---|---|---|---|
Jun. 30, 2026 |
Jun. 30, 2025 |
Jun. 30, 2024 |
|
| Reconciliation of Unrecognized Tax Benefits, Excluding Amounts Pertaining to Examined Tax Returns [Roll Forward] | |||
| Beginning of year | $ 30,163 | $ 73,044 | $ 153,860 |
| Additions based on prior year tax positions | 1,080 | 0 | 3,592 |
| Additions based on current year tax positions | 5,474 | 6,974 | 11,703 |
| Reductions based on prior year tax positions | (440) | (15,183) | (96,111) |
| Settlement with taxing authorities | (1,440) | (34,150) | 0 |
| Lapse of statute of limitations | (5,709) | (522) | 0 |
| End of year | 29,128 | 30,163 | 73,044 |
| Unrecognized tax benefits that, if recognized, would affect the effective tax rate | $ 29,128 | $ 30,163 | $ 73,044 |
| X | ||||||||||
- Definition A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period. No definition available.
|
| X | ||||||||||
- Definition Amount of unrecognized tax benefits. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of decrease in unrecognized tax benefits resulting from tax positions taken in prior period tax returns. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of decrease in unrecognized tax benefits resulting from settlements with taxing authorities. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of increase in unrecognized tax benefits resulting from tax positions that have been or will be taken in current period tax return. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of increase in unrecognized tax benefits resulting from tax positions taken in prior period tax returns. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of decrease in unrecognized tax benefits resulting from lapses of applicable statutes of limitations. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition The total amount of unrecognized tax benefits that, if recognized, would affect the effective tax rate. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|