v3.20.2
Net Loss per Share (Tables)
9 Months Ended
Sep. 30, 2020
Earnings Per Share [Abstract]  
Schedule of potential dilutive securities that would have been anti-dilutive due to net loss The following table presents a summary of the number of securities that have been excluded from the calculation of weighted-average shares of common stock outstanding because the effect is antidilutive for each of the periods indicated.
 Three and Nine Months Ended
September 30,
 20202019
Stock options4,023,741 4,404,386 
Restricted stock units3,431,829 1,454,169 
Performance restricted stock units1,760,164 202,764 
Shares related to convertible senior notes3,432,837 — 
Total antidilutive securities12,648,571 6,061,319 
Schedule of calculation of basic and diluted net loss per share
The following table presents the calculation of the Company’s basic and diluted net loss per share for each of the periods indicated.
 Three Months Ended
September 30,
Nine Months Ended
September 30,
 2020201920202019
Numerator (in thousands):  
Net loss$(52,554)$(141,112)$(178,827)$(190,638)
Denominator:  
Weighted-average shares of common stock outstanding, basic and diluted
68,580,439 63,358,890 66,368,686 60,690,536 
Net loss per share, basic and diluted$(0.77)$(2.23)$(2.69)$(3.14)