v3.26.1
Investment (Income), Net (Detail) - USD ($)
$ in Thousands
12 Months Ended
May 31, 2026
May 31, 2025
May 31, 2024
Investment Income, Net [Abstract]      
Interest (income) $ (14,848) $ (13,335) $ (20,947)
Net (gain) on marketable securities (25,422) (4,997) (19,914)
Dividend (income) (6,619) (5,767) (4,113)
Investment (income), net $ (46,889) $ (24,099) $ (44,974)