v3.26.1
Leases - Schedule of Lease Costs (Details) - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Jun. 30, 2024
Finance lease cost      
Amortization of right-of-use assets $ 0 $ 1,528 $ 1,667
Interest on lease liabilities 845 947 1,040
Total finance lease cost 845 2,475 2,707
Operating lease cost 64,035 59,213 52,909
Sublease income (1,373) 0 0
Total lease cost 63,507 61,688 55,616
Cash paid for amounts included in the measurement of lease liabilities      
Operating cash flows from finance leases 845 947 1,040
Operating cash flows from operating leases $ 62,996 58,117 50,672
Finance Lease, Liability, Statement of Financial Position [Extensible Enumeration] Other liabilities    
Financing cash flows from finance leases $ 1,926 1,749 1,584
Assets obtained in exchange for lease liabilities      
Right-of-use assets obtained in exchange for new operating lease liabilities $ 135,996 $ 51,357 $ 64,385
Weighted-average remaining lease term (in years)      
Finance leases 5 years 6 months 6 years 6 months 7 years 6 months
Operating leases 5 years 9 months 18 days 6 years 2 months 12 days 6 years 7 months 6 days
Weighted-average discount rate      
Finance leases 5.60% 5.60% 5.60%
Operating leases 6.10% 6.90% 6.80%