Net Loss per Share
12 Months Ended
Dec. 31, 2022
Earnings Per Share [Abstract]  
Net Loss per Share Net Loss per Share
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)

The Company’s potential dilutive securities have been excluded from the computation of diluted net loss per share as the effect would be to reduce the net loss per share. Therefore, the weighted average number of common shares outstanding used to calculate both basic and diluted net loss per share attributable to common stockholders is the same. 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