Quarterly report pursuant to Section 13 or 15(d)

Earnings per Share and Shareholders' Equity Share Repurchase (Details)

v3.23.2
Earnings per Share and Shareholders' Equity Share Repurchase (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended 123 Months Ended
May 31, 2023
Feb. 28, 2023
Nov. 30, 2022
May 31, 2022
Feb. 28, 2022
Nov. 30, 2021
May 31, 2023
May 31, 2022
Nov. 30, 2021
Aug. 31, 2022
Aug. 31, 2021
Equity [Abstract]                      
Stock Repurchase Program, Remaining Number of Shares Authorized to be Repurchased 5,396,576           5,396,576        
Statement [Line Items]                      
Stockholders' Equity, Including Portion Attributable to Noncontrolling Interest $ 336,619 $ 340,788 $ 334,323 $ 366,272 $ 413,023 $ 409,806 $ 336,619 $ 366,272 $ 409,806 $ 318,611 $ 412,198
Net (loss) earnings 12,380 4,497 7,453 1,643 1,221 2,788 24,330 5,652      
Other Comprehensive (Loss) Income, Net of Tax 1,993 1,243 6,024 (16,030) 1,744 (10,044) 9,260 $ (24,330)      
Stock Issued During Period, Value, Employee Benefit Plan 59 49 42 66 65 85          
Stock Issued During Period, Value, Restricted Stock Award, Gross 0 0 0   0 0          
APIC, Share-based Payment Arrangement, Increase for Cost Recognition 2,207 2,120 2,155 3,828 2,142 6,147          
Stock Value Issued to Acquired For and Distributed From Rabbi Trust 90 $ 61 $ 77 40 $ 25 $ 25          
Retained earnings 991,081           991,081     966,751  
Treasury Stock, Value 763,675           $ 763,675     $ 742,844  
Treasury Stock, Value, Acquired, Cost Method $ 20,831     $ 36,295         $ 763,700    
Stock Repurchase Program, Number of Shares Authorized to be Repurchased 10,000,000           10,000,000        
Treasury Stock, Common, Shares 27,402,654           27,402,654     26,558,965  
Stock Repurchased During Period, Shares 843,689     1,755,075              
Stock Repurchased During Period, Value $ 20,800     $ 36,300              
Common Stock [Member]                      
Statement [Line Items]                      
Stock Issued During Period, Shares, New Issues 83,752,000 83,732,000 83,529,000 83,350,000 83,345,000 83,092,000 83,752,000 83,350,000 83,092,000 83,397,000 83,022,000
Stockholders' Equity, Including Portion Attributable to Noncontrolling Interest $ 16,750 $ 16,746 $ 16,706 $ 16,670 $ 16,669 $ 16,622 $ 16,750 $ 16,670 $ 16,622 $ 16,679 $ 16,604
Stock Issued During Period, Shares, Employee Benefit Plan 2,000 2,000 3,000 4,000 5,000 2,000          
Stock Issued During Period, Value, Employee Benefit Plan $ 1   $ 1 $ 1 $ 1 $ 1          
Stock Issued During Period, Shares, Restricted Stock Award, Gross 12,000 173,000 84,000   247,000 67,000          
Stock Issued During Period, Value, Restricted Stock Award, Gross $ 2 $ 34 $ 17   $ 46 $ 17          
Stock Issued To Acquired For And Distributed From Rabbi Trust 4,000 28,000 3,000 1,000 1,000 1,000          
Stock Value Issued to Acquired For and Distributed From Rabbi Trust $ 1 $ 6 $ 1     $ 0          
Additional Paid-in Capital [Member]                      
Statement [Line Items]                      
Stockholders' Equity, Including Portion Attributable to Noncontrolling Interest 218,164 215,879 215,194 $ 211,952 $ 208,022 207,817 218,164 211,952 207,817 212,986 202,971
Stock Issued During Period, Value, Employee Benefit Plan 58 49 41 65 64 84          
Stock Issued During Period, Value, Restricted Stock Award, Gross (2) (34) 17   (46) (17)          
APIC, Share-based Payment Arrangement, Increase for Cost Recognition 2,207 2,120 2,155 3,828 2,142 6,147          
Stock Value Issued to Acquired For and Distributed From Rabbi Trust 89 55 76 40 25 25          
Retained Earnings [Member]                      
Statement [Line Items]                      
Stockholders' Equity, Including Portion Attributable to Noncontrolling Interest 991,081 978,701 974,204 958,991 957,348 956,127 991,081 958,991 956,127 966,751 953,339
Net (loss) earnings 12,380 4,497 7,453 1,643 1,221 2,788          
AOCI Attributable to Parent [Member]                      
Statement [Line Items]                      
Stockholders' Equity, Including Portion Attributable to Noncontrolling Interest (125,701) (127,694) (128,937) (117,314) (101,284) (103,028) (125,701) (117,314) (103,028) (134,961) (92,984)
Other Comprehensive (Loss) Income, Net of Tax 1,993 1,243 6,024 (16,030) 1,744 (10,044)          
Stock held in trust [member] [Member]                      
Statement [Line Items]                      
Stockholders' Equity, Including Portion Attributable to Noncontrolling Interest (3,405) (3,320) (3,239) (3,148) (3,089) (3,092) (3,405) (3,148) (3,092) (3,209) (3,067)
Stock Value Issued to Acquired For and Distributed From Rabbi Trust (85) (81) (30) (59) 3 (25)          
Deferred Compensation, Share-based Payments [Member]                      
Statement [Line Items]                      
Stockholders' Equity, Including Portion Attributable to Noncontrolling Interest 3,405 3,320 3,239 3,148 3,089 3,092 $ 3,405 $ 3,148 $ 3,092 $ 3,209 $ 3,067
Stock Value Issued to Acquired For and Distributed From Rabbi Trust $ 85 $ 81 $ 30 $ 59 $ (3) $ 25