v3.25.2
Investment (Income), Net (Detail) - USD ($)
$ in Thousands
12 Months Ended
May 31, 2025
May 31, 2024
May 31, 2023
Investment Income, Net [Abstract]      
Interest (income) $ (13,335) $ (20,947) $ (9,250)
Net (gain) loss on marketable securities (4,997) (19,914) 2,086
Dividend (income) (5,767) (4,113) (2,584)
Investment (income), net $ (24,099) $ (44,974) $ (9,748)