XML 41 R31.htm IDEA: XBRL DOCUMENT v3.22.2
Net Loss per Share (Tables)
6 Months Ended
Jun. 30, 2022
Earnings Per Share [Abstract]  
Schedule of potential dilutive securities that would have been anti-dilutive due to net loss The following securities have been excluded from the calculation of weighted-average shares of common stock outstanding because the effect is anti-dilutive for each of the periods indicated.
 Three and Six Months Ended
June 30,
 20222021
Stock options5,964,973 3,634,078 
Restricted stock units5,477,279 2,901,519 
Performance restricted stock units2,515,924 1,580,153 
Shares related to convertible senior notes13,443,374 13,443,374 
Total antidilutive securities27,401,550 21,559,124 
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,
 2022202120222021
Numerator (in thousands):  
Net loss$(62,852)$(21,831)$(188,632)$(67,395)
Denominator:  
Weighted-average shares of common stock outstanding, basic and diluted
77,059,157 74,421,911 76,667,681 74,051,220 
Net loss per share, basic and diluted$(0.82)$(0.29)$(2.46)$(0.91)