v3.26.3
Schedule II - Valuation and Qualifying Accounts (Details) - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2026
Jun. 30, 2025
SEC Schedule, 12-09, Movement in Valuation Allowances and Reserves [Roll Forward]    
Charged to costs and expenses $ 28,230 $ 28,757
Allowance for doubtful accounts    
SEC Schedule, 12-09, Movement in Valuation Allowances and Reserves [Roll Forward]    
Balance at beginning of period 1,337 1,517
Charged to costs and expenses 2,136 78
Deductions (100) (258)
Balance at end of period 3,373 1,337
Valuation allowance for deferred tax assets    
SEC Schedule, 12-09, Movement in Valuation Allowances and Reserves [Roll Forward]    
Balance at beginning of period 96,383 67,626
Charged to costs and expenses 45,239 30,706
Deductions (5,620) (1,949)
Balance at end of period $ 136,002 $ 96,383