v3.26.1
Consolidated Statements of Shareholders’ Equity - USD ($)
$ in Thousands
Total
Ordinary Shares
Treasury Shares
Additional Paid-in Capital
Accumulated Other Comprehensive Loss
Accumulated Deficit
Increase (Decrease) in Stockholders' Equity [Roll Forward]            
Shares, Outstanding   97,366,947        
Beginning balance at Apr. 30, 2023 $ 398,897 $ 1,024 $ (369) $ 1,471,584 $ (20,015) $ (1,053,327)
Beginning balance (in shares) at Apr. 30, 2023     (35,937)      
Increase (Decrease) in Stockholders' Equity [Roll Forward]            
Issuance of ordinary shares upon exercise of stock options (in shares)   1,292,375        
Issuance of ordinary shares upon exercise of stock options 20,919 $ 14   20,905    
Issuance of ordinary shares upon release of restricted stock units (in shares)   2,701,448        
Issuance of ordinary shares upon release of restricted stock units 0 $ 28   (28)    
Issuance of ordinary shares under employee stock purchase plan (in shares)   345,165        
Issuance of ordinary shares under employee stock purchase plan 19,135 $ 4   19,131    
Stock-based compensation 239,137     239,137    
Net income (loss) 61,720         61,720
Other comprehensive income (loss) (1,623)       (1,623)  
Ending balance at Apr. 30, 2024 738,185 $ 1,070 $ (369) 1,750,729 (21,638) (991,607)
Ending balance (in shares) at Apr. 30, 2024     (35,937)      
Increase (Decrease) in Stockholders' Equity [Roll Forward]            
Shares, Outstanding   101,705,935        
Issuance of ordinary shares upon exercise of stock options (in shares)   791,874        
Issuance of ordinary shares upon exercise of stock options 17,854 $ 9   17,845    
Issuance of ordinary shares upon release of restricted stock units (in shares)   2,672,842        
Issuance of ordinary shares upon release of restricted stock units 0 $ 29   (29)    
Issuance of ordinary shares under employee stock purchase plan (in shares)   364,236        
Issuance of ordinary shares under employee stock purchase plan 23,093 $ 4   23,089    
Stock-based compensation 257,782     257,782    
Net income (loss) (108,114)         (108,114)
Other comprehensive income (loss) $ (1,566)       (1,566)  
Ending balance (in shares) at Apr. 30, 2025 105,534,887 105,534,887        
Ending balance at Apr. 30, 2025 $ 927,234 $ 1,112 $ (369) 2,049,416 (23,204) (1,099,721)
Ending balance (in shares) at Apr. 30, 2025 (35,937)   (35,937)      
Increase (Decrease) in Stockholders' Equity [Roll Forward]            
Issuance of ordinary shares upon exercise of stock options (in shares)   218,707        
Issuance of ordinary shares upon exercise of stock options $ 2,804 $ 3   2,801    
Issuance of ordinary shares upon release of restricted stock units (in shares)   2,108,706        
Issuance of ordinary shares upon release of restricted stock units 0 $ 24   (24)    
Issuance of ordinary shares under employee stock purchase plan (in shares)   462,103        
Issuance of ordinary shares under employee stock purchase plan 25,015 $ 5   25,010    
Reissuance of treasury shares upon release of restricted stock units (in shares)   847,733 (847,733)      
Reissuance of treasury shares upon release of restricted stock units $ 0 $ 10 $ 64,762 (64,772)    
Number of shares repurchased (in shares) 4,420,666 4,420,666 (4,420,666)      
Repurchases of ordinary shares $ (340,088)   $ (340,088)      
Stock-based compensation 298,435     298,435    
Net income (loss) 367,766         367,766
Other comprehensive income (loss) $ (4,666)       (4,666)  
Ending balance (in shares) at Apr. 30, 2026 104,751,470 104,751,470        
Ending balance at Apr. 30, 2026 $ 1,276,500 $ 1,154 $ (275,695) $ 2,310,866 $ (27,870) $ (731,955)
Ending balance (in shares) at Apr. 30, 2026 (3,608,870)   (3,608,870)