CONDENSED CONSOLIDATED STATEMENTS OF STOCKHOLDERS' EQUITY (UNAUDITED) (Parenthetical) - $ / shares |
3 Months Ended | 9 Months Ended | ||
|---|---|---|---|---|
May 31, 2026 |
May 31, 2025 |
May 31, 2026 |
May 31, 2025 |
|
| Statement of Stockholders' Equity [Abstract] | ||||
| Cash dividends per share (in USD per share) | $ 0.20 | $ 0.18 | $ 0.56 | $ 0.54 |