XML 50 R40.htm IDEA: XBRL DOCUMENT v3.22.4
Investment (Income) Expense, Net (Detail) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Nov. 30, 2022
Nov. 30, 2021
Nov. 30, 2022
Nov. 30, 2021
Investment Income, Net [Abstract]        
Interest (income) $ (2,389) $ (993) $ (4,539) $ (2,146)
Net (gain) loss on marketable securities (3,794) 5,293 2,812 1,817
Dividend (income) (668) (1,484) (1,460) (2,605)
Investment (income) expense, net $ (6,851) $ 2,816 $ (3,187) $ (2,934)