| REIMBURSABLE PUBLIC IMPROVEMENTS AND NOTE RECEIVABLE FROM THE SKY RANCH CAB - Note Receivable (Details) - Related Party - Sky Ranch CAB - USD ($) $ in Thousands | 3 Months Ended | 6 Months Ended | ||
|---|---|---|---|---|
| Feb. 29, 2024 | Feb. 28, 2023 | Feb. 29, 2024 | Feb. 28, 2023 | |
| Related Party Transaction [Line Items] | ||||
| Beginning balance | $ 28,270 | $ 18,487 | $ 24,999 | $ 17,208 | 
| Additions | 931 | 2,122 | 4,202 | 3,401 | 
| Payments received | (286) | (286) | ||
| Ending balance | $ 28,915 | $ 20,609 | $ 28,915 | $ 20,609 | 
| X | ||||||||||
| 
- Definition The amount of increase in notes receivable during the period. No definition available. 
 | 
| X | ||||||||||
| 
- Definition Amount, after allowance for credit loss, of financing receivable, classified as noncurrent. No definition available. 
 | 
| X | ||||||||||
| 
- Definition The cash inflow from a long-term borrowing made from related parties where one party can exercise control or significant influence over another party; including affiliates, owners or officers and their immediate families, pension trusts, and so forth. Alternate caption: Proceeds from Advances from Affiliates. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
 | 
| X | ||||||||||
| 
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
 | 
| X | ||||||||||
| 
- Details 
 | 
| X | ||||||||||
| 
- Details 
 |