v3.26.1
Other Comprehensive Income (Loss) - Summary of Tax Effects on Each Component of OCI (Detail) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Feb. 28, 2026
Nov. 30, 2025
Aug. 31, 2025
Feb. 28, 2025
Nov. 30, 2024
Aug. 31, 2024
Feb. 28, 2026
Feb. 28, 2025
Components Of Other Comprehensive Income Loss [Abstract]                
Foreign currency translation, before tax $ 4,324     $ (1,519)     $ 4,752 $ (4,433)
Foreign currency translation, tax 980     (1,185)     1,004 (1,006)
Foreign currency translation, net of tax 5,304     (2,704)     5,756 (5,439)
Pension liability adjustment, before tax (9)     7     (19) 16
Pension liability adjustment, tax 2     154     4 151
Pension liability adjustment, net of tax (7)     161     (15) 167
Cash flow hedges, before tax 1,157     694     (144) 575
Cash flow hedges, tax (297)     (146)     45 (134)
Cash flow hedges, net of tax 860     548     (99) 441
Other comprehensive income (loss), before tax 5,472     (818)     4,589 (3,842)
Other comprehensive income (loss), tax 685     (1,177)     1,053 (989)
Other comprehensive income (loss), net of tax $ 6,157 $ (1,598) $ 1,083 $ (1,995) $ (3,320) $ 484 $ 5,642 $ (4,831)