STOCK-BASED COMPENSATION PLANS - Narrative (Details) - USD ($) $ in Thousands |
3 Months Ended | 6 Months Ended | ||
|---|---|---|---|---|
Feb. 28, 2026 |
Feb. 28, 2025 |
Feb. 28, 2026 |
Feb. 28, 2025 |
|
| Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | ||||
| Vesting period in years | 3 years | |||
| Stock-based compensation | $ 14,800 | $ 8,100 | $ 26,042 | $ 18,270 |
| Liability method awards | ||||
| Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | ||||
| Number of shares granted | 107,771 | |||
| Equivalent shares outstanding | 269,157 | 269,157 | ||
| Equivalent shares expected to vest | 257,178 | 257,178 | ||
| X | ||||||||||
- Definition Equivalent number of shares expected to vest under share-based compensation arrangement as of the balance sheet date. No definition available.
|
| X | ||||||||||
- Definition Amount of noncash expense for share-based payment arrangement. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Period over which grantee's right to exercise award under share-based payment arrangement is no longer contingent on satisfaction of service or performance condition, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. Includes, but is not limited to, combination of market, performance or service condition. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition The number of grants made during the period on other than stock (or unit) option plans (for example, phantom stock or unit plan, stock or unit appreciation rights plan, performance target plan). Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition The number of non-vested equity-based payment instruments, excluding stock (or unit) options, that validly exist and are outstanding as of the balance sheet date. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| 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
|