Stockholders' Equity - Schedule of Common Stock Outstanding (Details) - shares |
3 Months Ended | 6 Months Ended | 9 Months Ended | 12 Months Ended | |||
|---|---|---|---|---|---|---|---|
May 31, 2026 |
May 31, 2025 |
Feb. 28, 2026 |
Aug. 31, 2025 |
May 31, 2026 |
May 31, 2025 |
Aug. 31, 2025 |
|
| Common stock outstanding: | |||||||
| Common stock outstanding, beginning balances (in shares) | 107,480,895 | 107,480,895 | |||||
| Treasury shares purchased (in shares) | (900,000) | (200,000) | (2,600,000) | (2,700,000) | |||
| Common stock outstanding, ending balance (in shares) | 104,824,302 | 107,480,895 | 104,824,302 | 107,480,895 | |||
| Common stock: | |||||||
| Common stock outstanding: | |||||||
| Common stock outstanding, beginning balances (in shares) | 105,818,234 | 109,539,804 | 107,480,895 | 109,539,804 | 107,480,895 | 113,744,167 | 113,744,167 |
| Shares issued under employee stock purchase plan (in shares) | 9 | 0 | 210,759 | 355,851 | |||
| Vesting of restricted stock (in shares) | 2,517 | 938 | 1,104,276 | 1,089,969 | |||
| Purchases of treasury stock under employee stock plans (in shares) | (603) | (297) | (315,712) | (324,288) | |||
| Treasury shares purchased (in shares) | (995,855) | (2,221,608) | (3,655,916) | (7,546,862) | |||
| Common stock outstanding, ending balance (in shares) | 104,824,302 | 107,318,837 | 105,818,234 | 107,480,895 | 104,824,302 | 107,318,837 | 107,480,895 |
| X | ||||||||||
- Definition Number of shares of common stock outstanding. Common stock represent the ownership interest in a corporation. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period. No definition available.
|
| X | ||||||||||
- Definition Number of shares used to settle grantee's tax withholding obligation for award under share-based payment arrangement. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Number of shares issued during the period as a result of an employee stock purchase plan. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Number of shares issued during the period related to Restricted Stock Awards, net of any shares forfeited. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Number of shares that have been repurchased during the period and are being held in treasury. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Details
|