Comprehensive Income (Loss) - Additional Information (Detail) $ in Thousands |
12 Months Ended |
|---|---|
|
May 31, 2026
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 | $ 484 |
| Gain in accumulated other comprehensive income expected to be reclassified into net earnings, tax | $ 131 |