STOCK BASED COMPENSATION (Summary of Shares Repurchased) (Details) - USD ($) $ in Thousands |
12 Months Ended | ||
|---|---|---|---|
Aug. 31, 2026 |
Aug. 31, 2025 |
Aug. 31, 2024 |
|
| Share-Based Payment Arrangement [Abstract] | |||
| Shares repurchased (in shares) | 69,404 | 72,284 | 44,413 |
| Cost of repurchase of shares | $ 9,092 | $ 6,710 | $ 3,512 |