Net Loss Per Share
6 Months Ended
Jun. 30, 2021
Earnings Per Share [Abstract]  
Net Loss Per Share Net Loss Per Share
The following table summarizes the computation of basic and diluted net loss per share for the periods presented:
Three Months Ended June 30,Six Months Ended June 30,
2021202020212020
(in thousands, except share and per share data)
Numerator:
Net loss$(5,322)$(10,472)$(12,270)$(28,225)
Denominator:
Weighted average common shares used for basic and diluted earnings per share23,949,006 23,482,031 23,883,366 22,969,162 
Loss per share:
Basic and diluted
$(0.22)$(0.45)$(0.51)$(1.23)
Basic net loss per share is computed by dividing the net loss by the weighted-average number of shares outstanding for the period. Diluted net loss per share is computed by dividing the net loss by the weighted-average number of shares and dilutive share equivalents outstanding for the period, determined using the treasury-share method and the as-if converted method, for convertible securities, if inclusion of these is dilutive.
If the Company reports a net loss, diluted net loss per share is the same as basic net loss per share for those periods because including the dilutive securities would be anti-dilutive.
The following potentially dilutive securities outstanding at the end of the periods presented have been excluded from the computation of diluted shares:
Six Months Ended June 30,
20212020
Options to purchase common shares2,054,485 1,896,074 
Shares issuable on vesting of restricted stock awards39,059 102,670 
Warrants to purchase common shares5,500 5,500 
Total2,099,044 2,004,244