XML 115 R98.htm IDEA: XBRL DOCUMENT v3.23.3
LEASES (Summary of Components of Total Lease Costs) (Details) - USD ($)
$ in Thousands
12 Months Ended
Aug. 31, 2023
Aug. 31, 2022
Leases [Abstract]    
Operating lease cost $ 15,753 $ 15,632
Short-term lease cost 162 49
Variable lease cost 5,034 4,376
Sublease income (91) (180)
Total lease costs $ 20,858 $ 19,877