3. Net Loss per Share The following table shows the calculation of net loss per share (in thousands, except share and per share data): | | | | | | | | | | | | | | | | | | | | | | Year Ended December 31, | | | 2021 | | 2020 | | 2019 | Numerator: | | | | | | | | | | Net loss - basic and diluted | | $ | (43,241) | | $ | (5,995) | | $ | (46,672) | Denominator: | | | | | | | | | | Weighted average common shares outstanding | | | 41,854,110 | | | 29,478,878 | | | 29,364,535 | Less: weighted average common shares subject to repurchase | | | — | | | — | | | (14,725) | Weighted average common shares outstanding used to compute basic and diluted net loss per share | | | 41,854,110 | | | 29,478,878 | | | 29,349,810 | Net loss per share, basic and diluted | | $ | (1.03) | | $ | (0.20) | | $ | (1.59) |
The amounts in the table below were excluded from the calculation of diluted net loss per share, due to their anti-dilutive effect: | | | | | | | | | | | | | | | | Year Ended December 31, | | | 2021 | | 2020 | | 2019 | Outstanding options | | 6,354,308 | | 6,664,173 | | 5,643,410 |
|