Debt and Borrowings - Summary of Debt and Borrowings (Details) - USD ($) $ in Thousands |
Jun. 30, 2024 |
Jun. 30, 2023 |
|---|---|---|
| Line of Credit Facility [Line Items] | ||
| Less: Unamortized issuance costs | $ (1,680) | $ (1,307) |
| Other borrowings | 222 | 305 |
| Long-term debt | 744,092 | 828,748 |
| Short-term borrowings and current portion of long-term debt | 7,569 | 7,567 |
| Long-term debt, less current portion | 736,523 | 821,181 |
| Second Amendment and Restated Credit Agreement | Term loans | ||
| Line of Credit Facility [Line Items] | ||
| Debt, gross | 270,550 | |
| Second Amendment and Restated Credit Agreement | Line of Credit | Revolving credit facility | ||
| Line of Credit Facility [Line Items] | ||
| Debt, gross | $ 475,000 | |
| Amended and Restated Credit Agreement | Term loans | ||
| Line of Credit Facility [Line Items] | ||
| Debt, gross | 288,750 | |
| Amended and Restated Credit Agreement | Line of Credit | Revolving credit facility | ||
| Line of Credit Facility [Line Items] | ||
| Debt, gross | $ 541,000 |
| X | ||||||||||
- Definition Other long-term debt and finance lease liability. No definition available.
|
| 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 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/2003/role/disclosureRef
|
| 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
|