v3.25.2
SHAREHOLDERS' EQUITY (Details) - shares
shares in Thousands
3 Months Ended 9 Months Ended
May 31, 2025
May 31, 2024
May 31, 2025
May 31, 2024
Increase (Decrease) in Stockholders' Equity [Roll Forward]        
Common stock outstanding, beginning of year (in shares) 20,111 19,984 20,051 19,938
Common stock issued during the period (in shares) 5 23 65 69
Common stock outstanding, end of year (in shares) 20,116 20,007 20,116 20,007