Schedule II Valuation and Qualifying Accounts and Reserves (Details) - USD ($) $ in Thousands |
12 Months Ended | ||
|---|---|---|---|
Jun. 30, 2026 |
Jun. 30, 2025 |
Jun. 30, 2024 |
|
| Allowance for doubtful accounts | |||
| SEC Schedule, 12-09, Movement in Valuation Allowances and Reserves [Roll Forward] | |||
| Balance at Beginning of Year | $ 8,819 | $ 7,831 | $ 8,759 |
| Charges to Costs and Expenses | 1,183 | 1,277 | 574 |
| Recoveries | 0 | 22 | 93 |
| Other Adjustments | 341 | 219 | (25) |
| Deductions from Reserves | (1,531) | (530) | (1,570) |
| Balance at End of Year | 8,812 | 8,819 | 7,831 |
| Deferred tax asset valuation allowance | |||
| SEC Schedule, 12-09, Movement in Valuation Allowances and Reserves [Roll Forward] | |||
| Balance at Beginning of Year | 6,214 | 5,911 | 8,281 |
| Charges to Costs and Expenses | 0 | 0 | 0 |
| Recoveries | 1,037 | 143 | 1,501 |
| Other Adjustments | 0 | 647 | 1 |
| Deductions from Reserves | (231) | (201) | (870) |
| Balance at End of Year | $ 4,946 | $ 6,214 | $ 5,911 |