v3.26.3
CONSOLIDATED STATEMENTS OF STOCKHOLDERS’ EQUITY - USD ($)
$ in Thousands
Total
Common Stock
Additional Paid-in Capital
Retained Earnings
Accumulated Other Comprehensive Income (Loss)
Treasury Stock
Beginning balance (in shares) at Aug. 31, 2023   19,905,815        
Beginning balance at Aug. 31, 2023 $ 210,178 $ 20 $ 171,546 $ 477,488 $ (31,206) $ (407,670)
Beginning balance (in shares) at Aug. 31, 2023           6,342,381
Increase (Decrease) in Stockholders' Equity [Roll Forward]            
Issuance of common stock under share-based compensation plan, net of shares withheld for taxes (in shares)   19,397        
Payments for taxes related to net share settlement of equity awards (2,439)   (2,439)      
Stock-based compensation 6,535   6,535      
Cash dividends (47,201)     (47,201)    
Repurchases of common stock (in shares)           34,250
Repurchases of common stock (8,129)         $ (8,129)
Foreign currency translation adjustment 1,938       1,938  
Net income 69,644     69,644    
Ending balance (in shares) at Aug. 31, 2024   19,925,212        
Ending balance at Aug. 31, 2024 230,526 $ 20 175,642 499,931 (29,268) $ (415,799)
Ending balance (in shares) at Aug. 31, 2024           6,376,631
Increase (Decrease) in Stockholders' Equity [Roll Forward]            
Issuance of common stock under share-based compensation plan, net of shares withheld for taxes (in shares)   29,283        
Payments for taxes related to net share settlement of equity awards (2,883)   (2,883)      
Stock-based compensation 7,306   7,306      
Cash dividends (50,260)     (50,260)    
Repurchases of common stock (in shares)           50,250
Repurchases of common stock (12,314)         $ (12,314)
Foreign currency translation adjustment 4,783       4,783  
Net income $ 90,994     90,994    
Ending balance (in shares) at Aug. 31, 2025 13,527,614 19,954,495        
Ending balance at Aug. 31, 2025 $ 268,152 $ 20 180,065 540,665 (24,485) $ (428,113)
Ending balance (in shares) at Aug. 31, 2025 6,426,881         6,426,881
Increase (Decrease) in Stockholders' Equity [Roll Forward]            
Issuance of common stock under share-based compensation plan, net of shares withheld for taxes (in shares)   19,507        
Payments for taxes related to net share settlement of equity awards $ (2,246)   (2,246)      
Stock-based compensation 7,632   7,632      
Cash dividends (54,032)     (54,032)    
Repurchases of common stock (in shares)           139,820
Repurchases of common stock (29,886)         $ (29,886)
Foreign currency translation adjustment 1,007       1,007  
Net income $ 82,346     82,346    
Ending balance (in shares) at Aug. 31, 2026 13,407,301 19,974,002        
Ending balance at Aug. 31, 2026 $ 272,973 $ 20 $ 185,451 $ 568,979 $ (23,478) $ (457,999)
Ending balance (in shares) at Aug. 31, 2026 6,566,701         6,566,701