GOODWILL AND OTHER INTANGIBLE ASSETS - Schedule of Amortization Expense (Details) - USD ($) $ in Thousands |
3 Months Ended | 9 Months Ended | ||
|---|---|---|---|---|
Mar. 31, 2024 |
Mar. 31, 2023 |
Mar. 31, 2024 |
Mar. 31, 2023 |
|
| Goodwill and Intangible Assets Disclosure [Abstract] | ||||
| Amortization of acquired intangibles | $ 1,255 | $ 2,842 | $ 4,719 | $ 8,415 |