Net Loss per Share (Tables)
12 Months Ended
Dec. 31, 2022
Earnings Per Share [Abstract]  
Schedule of calculation of basic and diluted net loss per share attributable to common stockholders
Basic and diluted net loss per share attributable to common stockholders was calculated as follows (in thousands, except share and per share amounts):
Year ended December 31,
202220212020
Numerator:   
Net loss $(179,666)$(196,547)(167,731)
Denominator:
Weighted average common shares outstanding, basic and diluted90,305,46387,950,44080,624,608
Net loss per share, basic and diluted$(1.99)$(2.23)$(2.08)
Schedule of dilutive securities excluded from computations of diluted weighted average shares outstanding The Company excluded the following potential common shares from the periods in the table above, presented based on amounts outstanding at each period end, from the computation of diluted net loss per share attributable to common stockholders for the periods indicated because including them would have had an anti-dilutive effect:
Year ended December 31,
202220212020
Unvested restricted common stock433,203794,244252,000
Stock options to purchase common stock14,453,70817,496,57216,318,124
14,886,91118,290,81616,570,124