XML 85 R70.htm IDEA: XBRL DOCUMENT v3.24.2
Income Taxes - Additional Information (Detail) - USD ($)
$ in Thousands
12 Months Ended
May 31, 2024
May 31, 2023
May 31, 2022
Income Taxes [Line Items]      
Foreign tax credits $ 7,124 $ 5,324 $ 1,747
Research and development credit 615 1,385 780
Unrecognized Tax Benefits, Income Tax Penalties and Interest Accrued 246 145 $ 69
Unrecognized Tax Benefits that Would Impact Effective Tax Rate 2,739 $ 1,087  
Undistributed earnings in foreign subsidiaries 221,707    
Undistributed earnings in foreign subsidiaries not permanently reinvested 88,746    
Deferred tax on undistributed foreign earnings $ 132,961