v3.26.3
LEASES - Schedule of Lease Cost and Other Information Related to Leases (Details) - USD ($)
$ in Thousands
12 Months Ended
Aug. 31, 2026
Aug. 31, 2025
Aug. 31, 2024
Leases [Abstract]      
Operating lease costs $ 32,268 $ 30,982 $ 30,407
Variable lease costs $ 17,749 $ 18,110 17,280
Weighted average remaining lease term (in years) 6 years 1 month 6 days 6 years 1 month 6 days  
Weighted average discount rate (IBR) 4.80% 4.70%  
Cash paid for amounts included in the measurement of lease liabilities $ 40,176 $ 40,613 39,386
Lease ROU assets obtained in exchange for lease liabilities 23,875 7,439 10,268
Reductions to ROU assets resulting from reductions to lease liabilities $ 0 $ (5,529) $ (281)