Earnings Per Share and Dividends - Schedule of Earnings Per Share (Details) - shares |
3 Months Ended | 9 Months Ended | ||
---|---|---|---|---|
May 31, 2025 |
May 31, 2024 |
May 31, 2025 |
May 31, 2024 |
|
Restricted stock units | ||||
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||||
Common shares excluded from computation of diluted earnings per share (in shares) | 254,900 | 261,900 | 254,900 | 278,000.0 |