Net Loss Per Share
12 Months Ended
Dec. 31, 2021
Earnings Per Share [Abstract]  
Net Loss per Share . Net Loss per Share

Basic and diluted net loss per share was calculated as follows:

 

 

 

Year Ended December 31,

 

(in thousands, except share and per share data)

 

2021

 

 

2020

 

Numerator:

 

 

 

 

 

 

Net loss

 

$

(149,291

)

 

$

(59,437

)

Denominator:

 

 

 

 

 

 

Weighted-average common shares outstanding—basic and diluted

 

 

50,895,044

 

 

 

14,395,955

 

Net loss per share—basic and diluted

 

$

(2.93

)

 

$

(4.13

)

 

The following potentially dilutive common stock equivalents, presented based on amounts outstanding at each period end, were excluded from the computation of diluted net loss per share for the periods indicated because including them would have had an anti-dilutive effect:

 

 

 

Year Ended December 31,

 

 

 

2021

 

 

2020

 

Options to purchase common stock

 

 

7,967,750

 

 

 

6,421,589

 

Unvested restricted common stock

 

 

38,141

 

 

 

370,329

 

Unvested restricted stock units

 

 

1,056,984

 

 

 

403,355

 

Total

 

 

9,062,875

 

 

 

7,195,273