XML 60 R55.htm IDEA: XBRL DOCUMENT v3.23.4
Income Taxes - Additional Information (Detail) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Nov. 30, 2023
Nov. 30, 2022
Nov. 30, 2023
Nov. 30, 2022
May 31, 2023
Income Taxes [Line Items]          
Income tax expense (benefit) $ (260) $ 7,750 $ (100) $ 9,200  
Unrecognized tax benefits that would impact the tax effective rate $ 1,046   $ 1,046   $ 1,087