v3.26.1
Postretirement Benefits - Changes in Benefit Obligation (Detail) - Postretirement Benefits - USD ($)
$ in Thousands
12 Months Ended
May 31, 2026
May 31, 2025
May 31, 2024
Domestic      
Defined Benefit Plans And Other Postretirement Benefit Plans Table Text Block [Line Items]      
Benefit obligation at beginning of year $ 1,663 $ 1,621  
Interest cost 49 83 $ 87
Benefit payments (746) (135)  
Actuarial (gains) losses (22) 94  
Benefit Obligation at End of Year 944 1,663 1,621
Non-U.S. Plans      
Defined Benefit Plans And Other Postretirement Benefit Plans Table Text Block [Line Items]      
Benefit obligation at beginning of year 24,557 26,058  
Service cost 936 1,672 2,259
Interest cost 1,089 1,251 1,550
Benefit payments (648) (568)  
Actuarial (gains) losses (701) (3,635)  
Currency exchange rate changes (108) (221)  
Benefit Obligation at End of Year $ 25,125 $ 24,557 $ 26,058