XML 64 R55.htm IDEA: XBRL DOCUMENT v3.22.4
Income Taxes - Additional Information (Detail) - USD ($)
3 Months Ended 6 Months Ended
Nov. 30, 2022
Nov. 30, 2021
Nov. 30, 2022
Nov. 30, 2021
May 31, 2022
Income Taxes [Line Items]          
Income tax expense $ 7,750,000 $ 2,100,000 $ 9,200,000 $ 6,750,000  
Income tax expense related to nondeductible transaction costs 6,700,000        
Income Tax Expense Due to Increase in Deferred Tax Liability Rate 625,000        
Unrecognized tax benefits that would impact the tax effective rate $ 1,400,000   $ 1,400,000   $ 808,000