v3.25.2
Reconciliation of Income Taxes Computed at the U.S. Federal Statutory Tax Rate to Income Tax Expense (Detail) - USD ($)
$ in Thousands
12 Months Ended
May 31, 2025
May 31, 2024
May 31, 2023
Components Of Deferred Income Tax Assets And Liabilities [Line Items]      
Tax at U.S. statutory rate $ (237,901) $ (3,004) $ (4,629)
Permanent differences (1,488) 273 325
Global intangible low-taxed income (GILTI) 8,153 7,082 6,482
Foreign derived intangible income deduction (FDII) (567) (376) (643)
Foreign rate differential (2,338) (3,951) (3,742)
Goodwill impairment 202,763    
Subpart F income 2,139 1,178 152
Tax-effect from stock-based compensation 2,558 2,256 1,946
Provision for state income taxes, net of federal benefit (1,871) (2,693) 18
Non-deductible acquisition expenses     7,187
Tax credits (11,451) (7,739) (6,709)
Impact of tax rate changes (1,016)    
Change in tax-related uncertainties 1,251 1,896 278
Changes in valuation allowances (71) (534) 355
Research expenditures deduction (370) (293) (365)
Other (857) 1,021 173
Income tax (benefit) expense $ (41,066) $ (4,884) $ 828