DEBT AND BORROWINGS - Schedule of Components Of Debt (Details) - USD ($) $ in Thousands |
Mar. 31, 2024 |
Jun. 30, 2023 |
|---|---|---|
| Line of Credit Facility [Line Items] | ||
| Less: Unamortized issuance costs | $ (1,851) | $ (1,307) |
| Other borrowings | 243 | 305 |
| Long-term debt | 777,517 | 828,748 |
| Short-term borrowings and current portion of long-term debt | 7,569 | 7,567 |
| Long-term debt, less current portion | 769,948 | 821,181 |
| Total lease liabilities | 243 | 305 |
| Current finance liabilities | 85 | 83 |
| Second Amendment and Restated Credit Agreement | Term loans | ||
| Line of Credit Facility [Line Items] | ||
| Debt, gross | 283,125 | |
| Second Amendment and Restated Credit Agreement | Revolving credit facility | Line of Credit | ||
| Line of Credit Facility [Line Items] | ||
| Debt, gross | $ 496,000 | |
| Amended and Restated Credit Agreement | Term loans | ||
| Line of Credit Facility [Line Items] | ||
| Debt, gross | 288,750 | |
| Amended and Restated Credit Agreement | Revolving credit facility | Line of Credit | ||
| 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 Present value of lessee's discounted obligation for lease payments from finance lease. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Present value of lessee's discounted obligation for lease payments from finance lease, classified as current. 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
|