SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Restricted Cash (Details) $ in Millions  | 
12 Months Ended | 
|---|---|
| 
 Aug. 31, 2022  
USD ($)  
LetterOfCredit 
 | |
| RESTRICTED CASH [Abstract] | |
| Number of letters of credit | LetterOfCredit | 4 | 
| Letter of credit outstanding | $ | $ 2.3 | 
| X | ||||||||||
- Definition Total number of letters of credit entered in to by the company. No definition available. 
  | 
| X | ||||||||||
- Definition The total amount of the contingent obligation under letters of credit outstanding as of the reporting date. No definition available. 
  | 
| X | ||||||||||
- References No definition available. 
  |