v3.26.1
CONSOLIDATED STATEMENTS OF STOCKHOLDERS' EQUITY - USD ($)
shares in Thousands, $ in Thousands
Total
RSUs
Common Stock
Common Stock
RSUs
Additional Paid-In Capital
Additional Paid-In Capital
RSUs
Accumulated Other Comprehensive (Loss) Income
Accumulated Deficit
Beginning Balance, shares (in shares) at Apr. 30, 2023     113,943          
Beginning Balance, Amount at Apr. 30, 2023 $ 929,665   $ 113   $ 1,740,174   $ (385) $ (810,237)
Increase (Decrease) in Stockholders' Equity [Roll Forward]                
Issuance of Class A common stock upon exercise of stock options (in shares)     3,028          
Issuance of Class A common stock upon exercise of stock options 13,710   $ 3   13,707      
Vesting of early exercised Class A common stock options 507       507      
Shares withheld related to net share settlement of equity awards(in shares)     (376)          
Shares withheld related to net share settlement of equity awards (13,220)       (13,220)      
Vesting of restricted stock units (in shares)       6,248        
Vesting of restricted stock units   $ 34,833   $ 6   $ 34,827    
Issuance of Class A common stock under employee stock purchase plan (in shares)     863          
Issuance of Class A common stock under employee stock purchase plan 10,764   $ 1   10,763      
Stock-based compensation expense 176,968       176,968      
Other comprehensive income (loss) (178)           (178)  
Net loss (279,696)             (279,696)
Ending Balance, shares (in shares) at Apr. 30, 2024     123,706          
Ending Balance, Amount at Apr. 30, 2024 $ 873,353   $ 123   1,963,726   (563) (1,089,933)
Increase (Decrease) in Stockholders' Equity [Roll Forward]                
Issuance of Class A common stock upon exercise of stock options (in shares) 3,425   3,425          
Issuance of Class A common stock upon exercise of stock options $ 20,416   $ 3   20,413      
Vesting of early exercised Class A common stock options 259       259      
Shares withheld related to net share settlement of equity awards(in shares)     (338)          
Shares withheld related to net share settlement of equity awards (9,079)       (9,079)      
Vesting of restricted stock units (in shares)       6,448        
Vesting of restricted stock units   41,001   $ 6   40,995    
Issuance of Class A common stock under employee stock purchase plan (in shares)     697          
Issuance of Class A common stock under employee stock purchase plan 10,880   $ 1   10,879      
Stock-based compensation expense 189,091       189,091      
Other comprehensive income (loss) 1,084           1,084  
Net loss (288,702)             (288,702)
Ending Balance, shares (in shares) at Apr. 30, 2025     133,938          
Ending Balance, Amount at Apr. 30, 2025 $ 838,303   $ 133   2,216,284   521 (1,378,635)
Increase (Decrease) in Stockholders' Equity [Roll Forward]                
Issuance of Class A common stock upon exercise of stock options (in shares) 2,605   2,605          
Issuance of Class A common stock upon exercise of stock options $ 7,682   $ 3   7,679      
Vesting of early exercised Class A common stock options 7       7      
Vesting of restricted stock units (in shares)       10,561        
Vesting of restricted stock units   $ 50,925   $ 11   $ 50,914    
Issuance of Class A common stock under employee stock purchase plan (in shares)     904          
Issuance of Class A common stock under employee stock purchase plan 9,291   $ 1   9,290      
Stock-based compensation expense 218,483       218,483      
Other comprehensive income (loss) (571)           (571)  
Net loss (470,369)             (470,369)
Ending Balance, shares (in shares) at Apr. 30, 2026     148,008          
Ending Balance, Amount at Apr. 30, 2026 $ 653,751   $ 148   $ 2,502,657   $ (50) $ (1,849,004)