v3.26.1
Comprehensive Income (Loss) - Summary of Tax Effects on Each Component of Other Comprehensive Income (Loss) (Detail) - USD ($)
12 Months Ended
May 31, 2026
May 31, 2025
May 31, 2024
Components Of Other Comprehensive Income Loss [Abstract]      
Foreign currency translation, net, before tax $ 7,400,000 $ 1,200,000 $ (1,300,000)
Foreign currency translation, net, tax 0 0 0
Foreign currency translation, net, net of tax 7,400,000 1,200,000 (1,300,000)
Net investment hedge, before tax (1,800,000) 0 0
Net investment hedge, tax 500,000 0 0
Net investment hedge, net of tax (1,300,000) 0 0
Pension liability adjustment, before tax 3,800,000 (1,400,000) 3,100,000
Pension liability adjustment, tax 200,000 300,000 (700,000)
Pension liability adjustment, net of tax 4,000,000 (1,100,000) 2,400,000
Cash flow hedges, before tax 4,000,000 2,600,000 (6,700,000)
Cash flow hedges, tax (1,000,000) (600,000) 1,600,000
Cash flow hedges, net of tax 3,000,000 2,000,000 (5,100,000)
Other comprehensive income (loss), before tax 13,400,000 2,400,000 (4,900,000)
Other comprehensive income (loss), tax (300,000) (300,000) 900,000
Other comprehensive income (loss) $ 13,100,000 $ 2,100,000 $ (4,000,000)