Derivative Financial Instruments and Hedging Activities - Additional Information (Detail) € in Thousands, $ in Thousands |
3 Months Ended | 12 Months Ended | ||
|---|---|---|---|---|
|
Aug. 31, 2026
USD ($)
|
May 31, 2026
USD ($)
|
Aug. 31, 2026
EUR (€)
|
Aug. 31, 2025
USD ($)
|
|
| Derivative [Line Items] | ||||
| Impact to fair value of derivative assets and liabilities as a result of recognition on a gross basis | $ 530 | $ 707 | ||
| Losses in accumulated other comprehensive income expected to be reclassified into net earnings | 9 | |||
| Losses in accumulated other comprehensive income expected to be reclassified into net earnings, tax | 3 | |||
| Non-derivative Net Investment Hedge | Foreign Currency Net Investment Hedge | ||||
| Derivative [Line Items] | ||||
| Outstanding principal amount | € 91,700 | $ 99,479 | ||
| Non-derivative Designated As Hedging Instrument | Foreign Currency Net Investment Hedge | ||||
| Derivative [Line Items] | ||||
| Foreign currency gain (loss) recognized | $ 385 | $ (3,100) |