XML 71 R59.htm IDEA: XBRL DOCUMENT v3.23.2
Income Taxes - Additional Information (Detail) - USD ($)
$ in Thousands
12 Months Ended
May 31, 2023
May 31, 2022
May 31, 2021
Income Taxes [Line Items]      
Foreign tax credits $ 5,324 $ 1,747 $ 2,753
Research and development credit 1,385 780 545
Unrecognized Tax Benefits, Income Tax Penalties and Interest Accrued 145 69 $ 65
Unrecognized Tax Benefits that Would Impact Effective Tax Rate 1,087 $ 808  
Undistributed earnings in foreign subsidiaries 153,000    
Undistributed earnings in foreign subsidiaries not permanently reinvested 41,000    
Deferred tax on undistributed foreign earnings $ 112,000