v3.23.3
Net Loss per Share (Tables)
9 Months Ended
Sep. 30, 2023
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 Nine Months Ended
September 30,
 20232022
Stock options4,744,465 5,428,679 
Restricted stock units5,498,359 4,594,782 
Performance restricted stock units1,946,407 2,248,104 
Shares related to convertible senior notes29,776,706 13,443,374 
Total antidilutive securities41,965,937 25,714,939 
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,
 2023202220232022
Numerator (in thousands):  
Net loss$(47,443)$(121,676)$(275,159)$(310,308)
Denominator:  
Weighted-average shares of common stock outstanding, basic and diluted
81,515,246 77,692,911 80,470,221 77,013,180 
Net loss per share, basic and diluted$(0.58)$(1.57)$(3.42)$(4.03)