v3.25.2
Derivative Instruments and Hedging Activities - Additional Information (Detail)
€ in Thousands, $ in Thousands
12 Months Ended
May 31, 2025
USD ($)
May 31, 2024
USD ($)
May 31, 2025
EUR (€)
May 31, 2023
USD ($)
Derivative [Line Items]        
Impact to fair value of derivative assets and liabilities as a result of recognition on a gross basis $ 356 $ 391    
Gains in accumulated other comprehensive income expected to be reclassified into net earnings (849)      
Gain in accumulated other comprehensive income expected to be reclassified into net earnings, tax 248      
Non-derivative Net Investment Hedge | Foreign Currency Net Investment Hedge        
Derivative [Line Items]        
Outstanding principal amount 99,479   € 91,700  
Non-derivative Designated As Hedging Instrument | Foreign Currency Net Investment Hedge        
Derivative [Line Items]        
Foreign currency gain (loss) recognized $ 4,572 $ 1,676   $ 0