Income Taxes - Schedule of Unrecognized Tax Benefits, Including Interest and Penalties Activity (Details) - USD ($) $ in Thousands |
12 Months Ended | |
|---|---|---|
Jun. 30, 2026 |
Jun. 30, 2025 |
|
| Reconciliation of Unrecognized Tax Benefits, Excluding Amounts Pertaining to Examined Tax Returns [Roll Forward] | ||
| Balance at beginning of year | $ 51,923 | $ 26,060 |
| Additions based on tax positions related to the current year | 187 | 24,555 |
| Additions based on tax positions related to prior years | 1,266 | 1,308 |
| Reductions due to lapse in statute of limitations and settlements | (154) | 0 |
| Balance at end of year | $ 53,222 | $ 51,923 |