v3.25.2
Condensed Consolidated Statements of Stockholders’ Equity (Deficit) (unaudited) - USD ($)
$ in Thousands
Total
Common Stock 
Treasury Stock
Additional Paid-in Capital
Accumulated Other Comprehensive Loss
Accumulated Deficit
Beginning balance (in shares) at Dec. 31, 2023   121,629,861        
Beginning balance at Dec. 31, 2023 $ 158,684 $ 1   $ 2,304,220 $ (3,675) $ (2,141,862)
Increase (Decrease) in Stockholders' Equity [Roll Forward]            
Issuance of common stock upon exercise of stock options (in shares)   577,352        
Issuance of common stock upon exercise of stock options 2,577     2,577    
Vesting of restricted stock units (in shares)   390,541        
Common stock issued under employee stock purchase plan (in shares)   371,826        
Common stock issued under employee stock purchase plan 7,212     7,212    
Employee taxes paid related to net share settlement of restricted stock units (4,784)     (4,784)    
Stock-based compensation 54,276     54,276    
Other comprehensive income (loss) (1,965)       (1,965)  
Net loss (217,613)         (217,613)
Ending balance (in shares) at Jun. 30, 2024   122,969,580        
Ending balance at Jun. 30, 2024 (1,613) $ 1   2,363,501 (5,640) (2,359,475)
Beginning balance (in shares) at Mar. 31, 2024   121,787,297        
Beginning balance at Mar. 31, 2024 68,285 $ 1   2,329,930 (4,799) (2,256,847)
Increase (Decrease) in Stockholders' Equity [Roll Forward]            
Issuance of common stock upon exercise of stock options (in shares)   540,561        
Issuance of common stock upon exercise of stock options 2,364     2,364    
Vesting of restricted stock units (in shares)   269,896        
Common stock issued under employee stock purchase plan (in shares)   371,826        
Common stock issued under employee stock purchase plan 7,212     7,212    
Employee taxes paid related to net share settlement of restricted stock units (3,240)     (3,240)    
Stock-based compensation 27,235     27,235    
Other comprehensive income (loss) (841)       (841)  
Net loss (102,628)         (102,628)
Ending balance (in shares) at Jun. 30, 2024   122,969,580        
Ending balance at Jun. 30, 2024 $ (1,613) $ 1   2,363,501 (5,640) (2,359,475)
Beginning balance (in shares) at Dec. 31, 2024 123,994,006 123,994,006        
Beginning balance at Dec. 31, 2024 $ (139,647) $ 1 $ 0 2,443,788 (5,201) (2,578,235)
Increase (Decrease) in Stockholders' Equity [Roll Forward]            
Issuance of common stock upon exercise of stock options (in shares) 103,033 103,033        
Issuance of common stock upon exercise of stock options $ 2,325     2,325    
Vesting of restricted stock units (in shares)   1,046,829        
Common stock issued under employee stock purchase plan (in shares)   310,387        
Common stock issued under employee stock purchase plan 7,680     7,680    
Employee taxes paid related to net share settlement of restricted stock units (22,918)     (22,918)    
Stock-based compensation 80,219     80,219    
Repurchase of treasury stock (in shares)   (976,351)        
Repurchase of treasury stock (45,010)   (45,010)      
Unwinding of convertible note hedges 5,456     5,456    
Other comprehensive income (loss) 1,478       1,478  
Net loss $ (195,058)         (195,058)
Ending balance (in shares) at Jun. 30, 2025 124,477,904 124,477,904        
Ending balance at Jun. 30, 2025 $ (305,475) $ 1 (45,010) 2,516,550 (3,723) (2,773,293)
Beginning balance (in shares) at Mar. 31, 2025   123,647,166        
Beginning balance at Mar. 31, 2025 (250,789) $ 1 (45,010) 2,472,272 (4,658) (2,673,394)
Increase (Decrease) in Stockholders' Equity [Roll Forward]            
Issuance of common stock upon exercise of stock options (in shares)   58,912        
Issuance of common stock upon exercise of stock options 1,557     1,557    
Vesting of restricted stock units (in shares)   461,439        
Common stock issued under employee stock purchase plan (in shares)   310,387        
Common stock issued under employee stock purchase plan 7,680     7,680    
Employee taxes paid related to net share settlement of restricted stock units (7,421)     (7,421)    
Stock-based compensation 42,462     42,462    
Other comprehensive income (loss) 935       935  
Net loss $ (99,899)         (99,899)
Ending balance (in shares) at Jun. 30, 2025 124,477,904 124,477,904        
Ending balance at Jun. 30, 2025 $ (305,475) $ 1 $ (45,010) $ 2,516,550 $ (3,723) $ (2,773,293)