XML 40 R29.htm IDEA: XBRL DOCUMENT v3.23.2
SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Summary of Restricted Cash) (Details) - USD ($)
$ in Thousands
May 31, 2023
Aug. 31, 2022
Cash and Cash Equivalents [Line Items]    
Short-term restricted cash $ 2,965 $ 3,013
Long-term restricted cash 10,739 10,650
Total restricted cash 13,704 $ 13,663
Certificates of Deposit    
Cash and Cash Equivalents [Line Items]    
Total restricted cash $ 7,800