XML 61 R49.htm IDEA: XBRL DOCUMENT v3.22.2.2
SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Summary of Restricted Cash) (Details) - USD ($)
$ in Thousands
Aug. 31, 2022
Aug. 31, 2021
Cash and Cash Equivalents [Line Items]    
Short-term restricted cash $ 3,013 $ 3,647
Long-term restricted cash 10,650 9,772
Total restricted cash 13,663 $ 13,419
Certificates of Deposit [Member]    
Cash and Cash Equivalents [Line Items]    
Total restricted cash $ 8,400