v3.22.2.2
Net Loss Per Share - Shares Excluded From Calculation of Diluted Net Loss Per Share (Details) - shares
shares in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2022
Sep. 30, 2021
Sep. 30, 2022
Sep. 30, 2021
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Total shares excluded from net loss per share (in shares) 8,548 14,837 9,983 15,332
Options to purchase common stock        
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Total shares excluded from net loss per share (in shares) 1,280 4,116 1,985 4,712
Unvested restricted stock units        
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Total shares excluded from net loss per share (in shares) 903 4,253 1,600 5,876
Unvested performance stock units        
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Total shares excluded from net loss per share (in shares) 54 195 113 196
ESPP shares        
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Total shares excluded from net loss per share (in shares) 49 11 23 49
Convertible Senior Notes        
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Total shares excluded from net loss per share (in shares) 6,262 6,262 6,262 4,499