XML 51 R42.htm IDEA: XBRL DOCUMENT v3.24.1
Interim Financial Statements - Additional Information (Detail) - USD ($)
3 Months Ended 6 Months Ended
Feb. 29, 2024
Feb. 28, 2023
Feb. 29, 2024
Feb. 28, 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 575,000 38,000 575,000
Number of shares repurchased amount   $ 17,400,000 $ 1,300,000 $ 17,400,000
Share repurchase program expiration date     Jan. 31, 2025