XML 88 R59.htm IDEA: XBRL DOCUMENT v3.22.2.2
LEASES - Additional Information (Detail) - USD ($)
$ in Thousands
Aug. 31, 2022
Aug. 31, 2021
Leases [Abstract]    
Operating Lease, Weighted Average Remaining Lease Term 7 years 3 months 18 days 7 years 3 months 18 days
Operating Lease, Weighted Average Discount Rate, Percent 3.70% 3.90%
Lessee, Operating Lease, Lease Not Yet Commenced, Amount $ 135,530  
Lessee, Operating Lease, Lease Not yet Commenced, Term of Contract 11 years