v3.23.2
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
6 Months Ended
Jun. 30, 2023
Jun. 30, 2022
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) 33,593 37,570
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) 1,012 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) 319 1,465
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) 13,952 17,303
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) 11,320 7,620
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) 228 187