XML 63 R46.htm IDEA: XBRL DOCUMENT v3.23.3
SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Summary of Restricted Cash) (Details) - USD ($)
$ in Thousands
Aug. 31, 2023
Aug. 31, 2022
Aug. 31, 2021
Cash and Cash Equivalents [Line Items]      
Short-term restricted cash $ 2,865 $ 3,013 $ 3,647
Long-term restricted cash 9,353 10,650 $ 9,772
Total restricted cash 12,218 $ 13,663  
Certificates of Deposit      
Cash and Cash Equivalents [Line Items]      
Total restricted cash $ 6,400