v3.26.3
Changes in Equity - Summary of Changes in Equity by Component and in Total (Detail) - USD ($)
$ in Thousands
3 Months Ended
Aug. 31, 2026
Aug. 31, 2025
Changes in Equity [Line Items]    
Balance $ 1,027,040 $ 938,237
Net earnings (loss) 42,572 34,821
Other comprehensive (loss) income (1,335) 1,083
Common shares issued, net of withholding tax 2,660 (3,552)
Common shares in non-qualified plans 89 78
Stock-based compensation 4,192 4,856
Repurchase and retirement of common shares (18,212) (6,259)
Cash dividends declared (9,814) (9,433)
Balance 1,047,192 959,831
Additional Paid In Capital    
Changes in Equity [Line Items]    
Balance 311,997 308,608
Common shares issued, net of withholding tax 2,660 (3,552)
Common shares in non-qualified plans 89 78
Stock-based compensation 4,192 4,856
Repurchase and retirement of common shares (2,147) (623)
Balance 316,791 309,367
AOCI Net of Tax    
Changes in Equity [Line Items]    
Balance 10,906 4,050
Other comprehensive (loss) income (1,335) 1,083
Balance 9,571 5,133
Retained Earnings    
Changes in Equity [Line Items]    
Balance 704,137 624,529
Net earnings (loss) 42,572 35,148
Repurchase and retirement of common shares (16,065) (5,636)
Cash dividends declared (9,814) (9,433)
Balance 720,830 644,608
Parent    
Changes in Equity [Line Items]    
Balance 1,027,040 937,187
Net earnings (loss) 42,572 35,148
Other comprehensive (loss) income (1,335) 1,083
Common shares issued, net of withholding tax 2,660 (3,552)
Common shares in non-qualified plans 89 78
Stock-based compensation 4,192 4,856
Repurchase and retirement of common shares (18,212) (6,259)
Cash dividends declared (9,814) (9,433)
Balance $ 1,047,192 959,108
Noncontrolling Interest    
Changes in Equity [Line Items]    
Balance   1,050
Net earnings (loss)   (327)
Balance   $ 723