v3.25.2
Comprehensive Income (Loss) - Summary of Tax Effects on Each Component of OCI (Detail) - USD ($)
$ in Thousands
12 Months Ended
May 31, 2025
May 31, 2024
May 31, 2023
Components Of Other Comprehensive Income Loss [Abstract]      
Foreign currency translation, before tax $ 2,297 $ 10,578 $ (6,774)
Foreign currency translation, tax 953 2 (39)
Foreign currency translation, net of tax 3,250 10,580 (6,813)
Pension liability adjustment, before tax (83) 9,603 5,915
Pension liability adjustment, tax 159 (2,330) (1,401)
Pension liability adjustment, net of tax 76 7,273 4,514
Cash flow hedges, before tax 298 8,545 2,585
Cash flow hedges, tax (28) (2,048) (615)
Other Comprehensive Income (Loss), Cash Flow Hedge, Gain (Loss), after Reclassification and Tax, Parent, Total 270 6,497 1,970
OCI, before tax 2,512 28,726 1,726
OCI, tax 1,084 (4,376) (2,055)
Other comprehensive income (loss), net of tax $ 3,596 $ 24,350 $ (329)