v3.25.2
Accumulated Other Comprehensive Loss - Schedule of Accumulated Other Comprehensive Loss Changes by Component, Net of Related Tax (Details) - USD ($)
$ in Thousands
12 Months Ended
May 31, 2025
May 31, 2024
Accumulated Other Comprehensive Income (Loss) [Line Items]    
Beginning Balance $ 3,144,142 $ 3,134,217
Ending Balance 2,071,254 3,144,142
Accumulated Other Comprehensive Loss    
Accumulated Other Comprehensive Income (Loss) [Line Items]    
Beginning Balance (30,021) (33,251)
Ending Balance (28,898) (30,021)
Foreign Currency Translation Adjustment    
Accumulated Other Comprehensive Income (Loss) [Line Items]    
Beginning Balance (31,885) (30,286)
Other comprehensive (loss) gain before reclassifications 4,248 (1,599)
Ending Balance (27,637) (31,885)
Marketable Securities    
Accumulated Other Comprehensive Income (Loss) [Line Items]    
Beginning Balance 0 (927)
Other comprehensive (loss) gain before reclassifications 0 0
Amounts reclassified from accumulated other comprehensive loss 0 927
Ending Balance 0 0
Fair Value of Derivatives Change    
Accumulated Other Comprehensive Income (Loss) [Line Items]    
Beginning Balance 1,864 (2,039)
Other comprehensive (loss) gain before reclassifications (1,948) 6,184
Amounts reclassified from accumulated other comprehensive loss (1,177) (2,281)
Ending Balance $ (1,261) $ 1,864