XML 55 R48.htm IDEA: XBRL DOCUMENT v3.24.4
Accumulated Other Comprehensive Loss - Schedule of Accumulated Other Comprehensive Loss Changes by Component, Net of Related Tax (Detail) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Nov. 30, 2024
Nov. 30, 2023
Aug. 31, 2023
Nov. 30, 2024
Nov. 30, 2023
Accumulated Other Comprehensive Income (Loss) [Line Items]          
Accumulated other comprehensive loss, beginning balance $ (31,421) $ (26,496) $ (33,251) $ (30,021) $ (33,251)
Accumulated other comprehensive loss, ending balance (44,745) (25,128) (26,496) (44,745) (25,128)
Foreign Currency Translation Adjustment          
Accumulated Other Comprehensive Income (Loss) [Line Items]          
Accumulated other comprehensive loss, beginning balance (29,426) (27,062) (30,285) (31,885) (30,285)
Other comprehensive (loss) gain before reclassifications (14,576) 1,455   (12,117) 4,678
Accumulated other comprehensive loss, ending balance (44,002) (25,607) (27,062) (44,002) (25,607)
Marketable Securities          
Accumulated Other Comprehensive Income (Loss) [Line Items]          
Accumulated other comprehensive loss, beginning balance 0 (351) (927) 0 (927)
Other comprehensive (loss) gain before reclassifications 0   0 0 0
Amounts reclassified from accumulated other comprehensive loss 0 264   0 840
Accumulated other comprehensive loss, ending balance 0 (87) (351) 0 (87)
Fair Value of Derivatives Change          
Accumulated Other Comprehensive Income (Loss) [Line Items]          
Accumulated other comprehensive loss, beginning balance (1,995) 917 (2,039) 1,864 (2,039)
Other comprehensive (loss) gain before reclassifications 1,644 229   (1,627) 3,708
Amounts reclassified from accumulated other comprehensive loss (392) (580)   (980) (1,103)
Accumulated other comprehensive loss, ending balance $ (743) $ 566 $ 917 $ (743) $ 566