Comprehensive Income (Loss) - Additional Information (Detail) $ in Thousands |
12 Months Ended |
---|---|
May 31, 2025
USD ($)
| |
Other Comprehensive Income (Loss), Net of Tax [Abstract] | |
Gains in accumulated other comprehensive income, estimate of time of transfer | 12 months |
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 |