Leases - Schedule of Supplemental Balance Sheet Information (Details) - USD ($) $ in Thousands |
Jun. 30, 2024 |
Jun. 30, 2023 |
|---|---|---|
| Leases [Abstract] | ||
| Operating lease ROU assets, net | $ 86,634 | $ 95,894 |
| Finance lease ROU assets, net | 206 | 289 |
| Total leased assets | 86,840 | 96,183 |
| Current operating liabilities | 10,759 | 10,489 |
| Current finance liabilities | 85 | 83 |
| Non-current operating liabilities | 80,863 | 90,014 |
| Non-current finance liabilities | 137 | 222 |
| Total lease liabilities | $ 91,844 | $ 100,808 |
| Finance Lease, Right-of-Use Asset, Statement of Financial Position [Extensible Enumeration] | Property, Plant, and Equipment and Finance Lease Right-of-Use Asset, after Accumulated Depreciation and Amortization | Property, Plant, and Equipment and Finance Lease Right-of-Use Asset, after Accumulated Depreciation and Amortization |
| Operating Lease, Liability, Current, Statement of Financial Position [Extensible Enumeration] | Accrued Expenses And Other Current Liabilities | Accrued Expenses And Other Current Liabilities |
| Finance Lease, Liability, Current, Statement of Financial Position [Extensible Enumeration] | Long-Term Debt and Lease Obligation, Current | Long-Term Debt and Lease Obligation, Current |
| Finance Lease, Liability, Noncurrent, Statement of Financial Position [Extensible Enumeration] | Long-Term Debt and Lease Obligation | Long-Term Debt and Lease Obligation |