v3.24.1.u1
Net Loss per Share Attributable to Common Stockholders - Schedule of Potential Shares of Common Stock Excluded from Computation of Basic and Diluted Net Loss per Share Attributable to Common Stockholders (Details) - shares
shares in Thousands
3 Months Ended
Mar. 31, 2024
Mar. 31, 2023
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Potential shares of common stock excluded from computation of diluted net loss per share attributable to common stockholders (in shares) 27,646 36,550
2025 Notes    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Potential shares of common stock excluded from computation of diluted net loss per share attributable to common stockholders (in shares) 0 4,233
2026 Notes    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Potential shares of common stock excluded from computation of diluted net loss per share attributable to common stockholders (in shares) 6,762 6,762
Shares subject to repurchase    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Potential shares of common stock excluded from computation of diluted net loss per share attributable to common stockholders (in shares) 0 615
Unexercised stock options    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Potential shares of common stock excluded from computation of diluted net loss per share attributable to common stockholders (in shares) 10,731 14,821
Unvested restricted stock and RSUs    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Potential shares of common stock excluded from computation of diluted net loss per share attributable to common stockholders (in shares) 9,967 9,874
Shares issuable pursuant to the ESPP    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Potential shares of common stock excluded from computation of diluted net loss per share attributable to common stockholders (in shares) 186 245