XML 54 R47.htm IDEA: XBRL DOCUMENT v3.25.1
Accumulated Other Comprehensive Loss - Schedule of Accumulated Other Comprehensive Loss Changes by Component, Net of Related Tax (Detail) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Feb. 28, 2025
Feb. 29, 2024
Feb. 28, 2025
Feb. 29, 2024
Accumulated Other Comprehensive Income (Loss) [Line Items]        
Accumulated other comprehensive loss, beginning balance $ (44,745) $ (25,128) $ (30,021) $ (33,251)
Accumulated other comprehensive loss, ending balance (47,690) (29,473) (47,690) (29,473)
Foreign Currency Translation Adjustment        
Accumulated Other Comprehensive Income (Loss) [Line Items]        
Accumulated other comprehensive loss, beginning balance (44,002) (25,607) (31,885) (30,285)
Other comprehensive (loss) gain before reclassifications (2,658) (4,561) (14,775) 117
Accumulated other comprehensive loss, ending balance (46,660) (30,168) (46,660) (30,168)
Marketable Securities        
Accumulated Other Comprehensive Income (Loss) [Line Items]        
Accumulated other comprehensive loss, beginning balance 0 (87) 0 (927)
Other comprehensive (loss) gain before reclassifications 0 0 0 0
Amounts reclassified from accumulated other comprehensive loss 0 77 0 917
Accumulated other comprehensive loss, ending balance 0 (10) 0 (10)
Fair Value of Derivatives Change        
Accumulated Other Comprehensive Income (Loss) [Line Items]        
Accumulated other comprehensive loss, beginning balance (743) 566 1,864 (2,039)
Other comprehensive (loss) gain before reclassifications (170) 731 (1,797) 4,439
Amounts reclassified from accumulated other comprehensive loss (117) (592) (1,097) (1,695)
Accumulated other comprehensive loss, ending balance $ (1,030) $ 705 $ (1,030) $ 705