v3.25.1
Net Loss Per Share - Schedule of Antidilutive Securities Excluded from Computation of EPS (Details) - shares
3 Months Ended
Mar. 31, 2025
Mar. 31, 2024
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Anti-dilutive common stock awards not included in earnings per share calculation (in shares) 18,221,548 19,415,308
Shares subject to outstanding common stock options and employee stock purchase plan    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Anti-dilutive common stock awards not included in earnings per share calculation (in shares) 2,617,261 3,251,520
Restricted stock units    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Anti-dilutive common stock awards not included in earnings per share calculation (in shares) 10,802,694 8,052,908
Conversion option of the Notes | 2024 Notes    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Anti-dilutive common stock awards not included in earnings per share calculation (in shares) 0 1,231,597
Conversion option of the Notes | 2026 Notes    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Anti-dilutive common stock awards not included in earnings per share calculation (in shares) 4,801,593 6,879,283