SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Summary of Restricted Cash) (Details) - USD ($) $ in Thousands |
May 31, 2021 |
Aug. 31, 2020 |
||
|---|---|---|---|---|
| Cash and Cash Equivalents [Line Items] | ||||
| Short-term restricted cash | $ 781 | $ 185 | ||
| Long-term restricted cash | 6,972 | 4,105 | ||
| Total restricted cash | [1] | 7,753 | $ 4,290 | |
| Loans payable | 3,000 | |||
| Certificates of Deposit [Member] | ||||
| Cash and Cash Equivalents [Line Items] | ||||
| Total restricted cash | $ 3,000 | |||
| ||||