v3.26.1
Income Taxes (Details 2) - USD ($)
$ in Thousands
12 Months Ended
Jul. 31, 2026
Jul. 31, 2025
Jul. 31, 2024
Effective Income Tax Rate Reconciliation [Line Items]      
Tax Jurisdiction of Domicile [Extensible Enumeration] U.S. U.S. U.S.
Amount      
U.S. federal income tax $ 34,465 $ 10,375 $ (5,634)
State and local taxes, net of federal benefit 3,064 (1,200) (1,702)
Tax credits (8,959)    
Nontaxable or nondeductible items      
Stock-based compensation (20,908) (28,474) (4,415)
Non-deductible officers’ compensation 14,187 10,882 4,996
Other permanent differences 2,386 0 30
Cross-border tax laws      
Foreign earnings taxed in the U.S. 3,064    
FDII (1,714) (5,429) (2,027)
Foreign tax credits (5,670)    
Other 604    
Foreign Tax Effects      
Other foreign jurisdictions (19) (2,023) (960)
Change in valuation allowance 768 (5,682) 491
Other adjustments (649) 1,434 1,254
Total provision for (benefit from) income taxes $ 24,834 $ (20,409) $ (20,735)
%      
U.S. federal income tax 21.00%    
State and local taxes, net of federal benefit 1.90%    
Tax credits (5.50%)    
Nontaxable or nondeductible items      
Stock-based compensation (12.70%)    
Non-deductible officers’ compensation 8.60%    
Other permanent differences 1.50%    
Cross-border tax laws      
Foreign earnings taxed in the U.S. 1.90%    
FDII (1.00%)    
Foreign tax credits (3.50%)    
Other 0.40%    
Foreign Tax Effects      
Statutory tax rate difference between foreign jurisdictions and United States 0.00%    
Change in valuation allowance 0.50%    
Other foreign jurisdictions (0.40%)    
Total provision for (benefit from) income taxes 15.10%    
Argentina      
Foreign Tax Effects      
Withholding taxes $ 2,911    
Foreign Tax Effects      
Withholding taxes 1.80%    
Other foreign jurisdictions      
Foreign Tax Effects      
Withholding taxes $ 1,304    
Foreign Tax Effects      
Withholding taxes 0.80%