Derivative Instruments and Hedging Activities - Additional Information (Detail) € in Thousands, $ in Thousands |
12 Months Ended | ||
|---|---|---|---|
|
May 31, 2026
USD ($)
|
May 31, 2025
USD ($)
|
May 31, 2026
EUR (€)
|
|
| Derivative [Line Items] | |||
| Impact to fair value of derivative assets and liabilities as a result of recognition on a gross basis | $ 707 | $ 356 | |
| Gains in accumulated other comprehensive income expected to be reclassified into net earnings | (484) | ||
| Gain in accumulated other comprehensive income expected to be reclassified into net earnings, tax | 131 | ||
| 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 loss recognized | $ 2,863 | $ 4,572 | |