v3.20.2
Net Loss per Share (Details) - USD ($)
$ / shares in Units, $ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2020
Sep. 30, 2019
Sep. 30, 2020
Sep. 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,648,571 6,061,319
Numerator:        
Net loss $ (52,554) $ (141,112) $ (178,827) $ (190,638)
Denominator:        
Weighted-average shares of common stock outstanding, basic and diluted (in shares) 68,580,439 63,358,890 66,368,686 60,690,536
Net loss per share, basic and diluted (in dollars per share) $ (0.77) $ (2.23) $ (2.69) $ (3.14)
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,023,741 4,404,386
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,431,829 1,454,169
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,760,164 202,764
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