XML 48 R41.htm IDEA: XBRL DOCUMENT v3.25.1
Income Taxes - Additional Information (Detail) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Feb. 28, 2025
Feb. 29, 2024
Feb. 28, 2025
Feb. 29, 2024
May 31, 2024
Income Taxes [Line Items]          
Income tax benefit $ 1,230 $ (3,800) $ (22,060) $ (3,900)  
Minimum effective tax rate     15.00%    
Goodwill impairment charge     $ 9,225    
Unrecognized tax benefits that would impact the tax effective rate $ 4,336   $ 4,336   $ 2,739