v3.20.2
Net Loss per Share (Tables)
6 Months Ended
Jun. 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 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 Six Months Ended
June 30,
 20202019
Stock options4,132,718  4,325,728  
Restricted stock units3,534,193  1,208,112  
Performance restricted stock units1,831,648  199,636  
Shares related to convertible senior notes3,432,837  —  
Total antidilutive securities12,931,396  5,733,476  
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
June 30,
Six Months Ended
June 30,
 2020201920202019
Numerator (in thousands):  
Net loss$(66,167) $(27,972) $(126,273) $(49,526) 
Denominator:  
Weighted-average shares of common stock outstanding, basic and diluted
64,075,405  60,516,662  63,850,869  59,334,246  
Net loss per share, basic and diluted$(1.03) $(0.46) $(1.98) $(0.83)