v3.26.1
Changes in Equity - Summary of Changes in Equity by Component and in Total (Detail) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Feb. 28, 2026
Nov. 30, 2025
Aug. 31, 2025
Feb. 28, 2025
Nov. 30, 2024
Aug. 31, 2024
Feb. 28, 2026
Feb. 28, 2025
Changes in Equity [Line Items]                
Balance $ 963,023 $ 959,831 $ 938,237 $ 912,958 $ 903,241 $ 891,012 $ 938,237 $ 891,012
Net earnings (loss) 45,120 27,029 34,821 39,339 28,009 24,008 106,970 91,356
Other comprehensive income 6,157 (1,598) 1,083 (1,995) (3,320) 484 5,642 (4,831)
Common shares issued, net of withholding tax (15) (2,269) (3,552) (22) (3,893) (3,158)    
Common shares in non-qualified plans 33 53 78 33 56 32    
Stock-based compensation 3,046 3,104 4,856 2,890 5,539 6,216    
Purchase and retirement of common shares (5,374) (13,695) (6,259) (6,170) (8,079) (6,803)    
Cash dividends declared (9,430) (9,432) (9,433) (8,512) (8,595) (8,550)    
Balance 1,002,560 963,023 959,831 938,521 912,958 903,241 1,002,560 938,521
Additional Paid-in Capital                
Changes in Equity [Line Items]                
Balance 308,689 309,367 308,608 301,729 301,239 299,033 308,608 299,033
Common shares issued, net of withholding tax (15) (2,269) (3,552) (22) (3,893) (3,158)    
Common shares in non-qualified plans 33 53 78 33 56 32    
Stock-based compensation 3,046 3,104 4,856 2,890 5,539 6,216    
Purchase and retirement of common shares (630) (1,566) (623) (920) (1,212) (884)    
Balance 311,123 308,689 309,367 303,710 301,729 301,239 311,123 303,710
AOCI, Net of Tax                
Changes in Equity [Line Items]                
Balance 3,535 5,133 4,050 (2,382) 938 454 4,050 454
Other comprehensive income 6,157 (1,598) 1,083 (1,995) (3,320) 484    
Balance 9,692 3,535 5,133 (4,377) (2,382) 938 9,692 (4,377)
Retained Earnings                
Changes in Equity [Line Items]                
Balance 650,375 644,608 624,529 611,974 599,176 589,392 624,529 589,392
Net earnings (loss) 45,463 27,328 35,148 39,663 28,260 24,253    
Purchase and retirement of common shares (4,744) (12,129) (5,636) (5,250) (6,867) (5,919)    
Cash dividends declared (9,430) (9,432) (9,433) (8,512) (8,595) (8,550)    
Balance 681,664 650,375 644,608 637,875 611,974 599,176 681,664 637,875
Parent                
Changes in Equity [Line Items]                
Balance 962,599 959,108 937,187 911,321 901,353 888,879 937,187 888,879
Net earnings (loss) 45,463 27,328 35,148 39,663 28,260 24,253    
Other comprehensive income 6,157 (1,598) 1,083 (1,995) (3,320) 484    
Common shares issued, net of withholding tax (15) (2,269) (3,552) (22) (3,893) (3,158)    
Common shares in non-qualified plans 33 53 78 33 56 32    
Stock-based compensation 3,046 3,104 4,856 2,890 5,539 6,216    
Purchase and retirement of common shares (5,374) (13,695) (6,259) (6,170) (8,079) (6,803)    
Cash dividends declared (9,430) (9,432) (9,433) (8,512) (8,595) (8,550)    
Balance 1,002,479 962,599 959,108 937,208 911,321 901,353 1,002,479 937,208
Noncontrolling Interest                
Changes in Equity [Line Items]                
Balance 424 723 1,050 1,637 1,888 2,133 1,050 2,133
Net earnings (loss) (343) (299) (327) (324) (251) (245)    
Balance $ 81 $ 424 $ 723 $ 1,313 $ 1,637 $ 1,888 $ 81 $ 1,313