Debt and Borrowings - Summary of Debt and Borrowings (Details) - USD ($) $ in Thousands |
Jun. 30, 2026 |
Jun. 30, 2025 |
|---|---|---|
| Line of Credit Facility [Line Items] | ||
| Less: Unamortized issuance costs | $ (476) | $ (1,844) |
| Finance lease liability | 370 | 615 |
| Long-term debt | 557,844 | 704,821 |
| Short-term borrowings and current portion of long-term debt | 557,552 | 7,653 |
| Long-term debt, less current portion | 292 | 697,168 |
| Second Amendment and Restated Credit Agreement | Revolving Credit Facility | Line of Credit | ||
| Line of Credit Facility [Line Items] | ||
| Debt, gross | 411,000 | |
| Third Amendment and Restated Credit Agreement | Term loans | ||
| Line of Credit Facility [Line Items] | ||
| Debt, gross | 146,950 | 255,550 |
| Third Amendment and Restated Credit Agreement | Revolving Credit Facility | Line of Credit | ||
| Line of Credit Facility [Line Items] | ||
| Debt, gross | $ 411,000 | $ 450,500 |
| X | ||||||||||
- Definition Amount, before unamortized (discount) premium and debt issuance costs, of long-term debt. Includes, but is not limited to, notes payable, bonds payable, commercial loans, mortgage loans, convertible debt, subordinated debt and other types of debt. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount of unamortized debt discount (premium) and debt issuance costs. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Present value of lessee's discounted obligation for lease payments from finance lease. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount of long-term debt and lease obligation, classified as noncurrent. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount of long-term debt and lease obligation, classified as current. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount of long-term debt and lease obligation, including portion classified as current. No definition available.
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|