| Net Income (Loss) Per Share |
Note 13. Net Income (Loss) Per Share The following table sets forth the computation of our basic and diluted net income (loss) per share: | | | | | | | | | | | | | | | Three Months Ended | | Six Months Ended | | | June 30, | | June 30, | (In thousands, except share and per share data) | | 2024 | | 2023 | | 2024 | | 2023 | Net income (loss) | | $ | 4,298 | | $ | (100) | | $ | 2,089 | | $ | (1,986) | Weighted-average shares outstanding | | | 23,873,379 | | | 23,352,530 | | | 23,769,604 | | | 22,323,856 | Weighted-average shares used to compute diluted net income (loss) per share | | | 24,099,047 | | | 23,352,530 | | | 24,073,986 | | | 22,323,856 | Net income (loss) per share - Basic | | $ | 0.18 | | $ | 0.00 | | $ | 0.09 | | $ | (0.09) | Net income (loss) per share - Diluted | | $ | 0.18 | | $ | 0.00 | | $ | 0.09 | | $ | (0.09) |
The following common stock equivalents were excluded from the computation of diluted net income (loss) per share for the periods presented because including them would have been anti-dilutive: | | | | | | | | | | | Three Months Ended | | Six Months Ended | | | June 30, | | June 30, | | | 2024 | | 2023 | | 2024 | | 2023 | Restricted stock units | | 449,056 | | 674,178 | | 493,370 | | 674,178 | Common stock options | | 381,187 | | 526,047 | | 387,298 | | 526,047 | Performance stock units | | — | | 216,291 | | 166,457 | | 216,291 | Employee stock purchase plan | | — | | 59,509 | | — | | 71,253 | Total | | 830,243 | | 1,476,025 | | 1,047,125 | | 1,487,769 |
|