XML 51 R43.htm IDEA: XBRL DOCUMENT v3.24.2
Interim Financial Statements - Additional Information (Detail) - USD ($)
3 Months Ended 9 Months Ended
May 31, 2024
May 31, 2023
May 31, 2024
May 31, 2023
Equity Class Of Treasury Stock [Line Items]        
Stock repurchased authorized amount $ 100,000,000   $ 100,000,000  
Remaining authorized repurchase amount $ 45,100,000   $ 45,100,000  
Number of shares repurchased 0 1,200,000 38,000 1,700,000
Number of shares repurchased amount   $ 32,000,000 $ 1,300,000 $ 49,400,000
Share repurchase program expiration date     Jan. 31, 2025