STOCK-BASED COMPENSATION AND INCENTIVE PERFORMANCE PLANS - Schedule of Compensation Cost And Related Income Tax Benefits Recognized (Details) - USD ($) $ in Thousands |
3 Months Ended | 9 Months Ended | ||
|---|---|---|---|---|
Mar. 31, 2024 |
Mar. 31, 2023 |
Mar. 31, 2024 |
Mar. 31, 2023 |
|
| Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | ||||
| Related income tax benefit | $ 316 | $ 464 | $ 1,170 | $ 1,417 |
| Selling, general and administrative expenses | ||||
| Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | ||||
| Stock-based compensation expense | $ 3,017 | $ 3,228 | $ 10,135 | $ 10,657 |