XML 49 R42.htm IDEA: XBRL DOCUMENT v3.24.4
Income Taxes - Additional Information (Detail) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Nov. 30, 2024
Nov. 30, 2023
Nov. 30, 2024
Nov. 30, 2023
May 31, 2024
Income Taxes [Line Items]          
Income tax benefit $ (20,290) $ (260) $ (23,290) $ (100)  
Minimum effective tax rate     15.00%    
Goodwill impairment charge 9,225        
Unrecognized tax benefits that would impact the tax effective rate $ 3,691   $ 3,691   $ 2,739