v3.20.2
Net Loss per Share (Details) - USD ($)
$ / shares in Units, $ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2020
Jun. 30, 2019
Jun. 30, 2020
Jun. 30, 2019
Potential dilutive securities that would have been anti-dilutive        
Potential dilutive securities that would have been anti-dilutive due to net loss (in shares)     12,931,396 5,733,476
Numerator:        
Net loss $ (66,167) $ (27,972) $ (126,273) $ (49,526)
Denominator:        
Weighted-average shares of common stock outstanding, basic and diluted (in shares) 64,075,405 60,516,662 63,850,869 59,334,246
Net loss per share, basic and diluted (in dollars per share) $ (1.03) $ (0.46) $ (1.98) $ (0.83)
Stock options        
Potential dilutive securities that would have been anti-dilutive        
Potential dilutive securities that would have been anti-dilutive due to net loss (in shares)     4,132,718 4,325,728
Restricted stock units        
Potential dilutive securities that would have been anti-dilutive        
Potential dilutive securities that would have been anti-dilutive due to net loss (in shares)     3,534,193 1,208,112
Performance restricted stock units        
Potential dilutive securities that would have been anti-dilutive        
Potential dilutive securities that would have been anti-dilutive due to net loss (in shares)     1,831,648 199,636
Convertible debt securities        
Potential dilutive securities that would have been anti-dilutive        
Potential dilutive securities that would have been anti-dilutive due to net loss (in shares)     3,432,837 0