CONDENSED CONSOLIDATED STATEMENTS OF STOCKHOLDERS' EQUITY (UNAUDITED) (Parenthetical) - $ / shares |
3 Months Ended | 6 Months Ended | ||
|---|---|---|---|---|
Feb. 28, 2026 |
Feb. 28, 2025 |
Feb. 28, 2026 |
Feb. 28, 2025 |
|
| Statement of Stockholders' Equity [Abstract] | ||||
| Cash dividends per share (in USD per share) | $ 0.18 | $ 0.18 | $ 0.36 | $ 0.36 |