| Net Loss Per Share |
16. Net Loss Per Share Basic net loss per share attributable to common stockholders was calculated as follows for the years ended December 31, 2024, 2023 and 2022: | | | | | | | | | | Year Ended | | December 31, | | 2024 | | 2023 | | 2022 | Numerator: | | | | | | | | | Net loss attributable to common stockholders | $ | (193,506) | | $ | (80,736) | | $ | (71,038) | Denominator: | | | | | | | | | Weighted average common shares outstanding, basic | | 158,265,162 | | | 79,827,362 | | | 76,875,035 | Net loss per share - basic | $ | (1.22) | | $ | (1.01) | | $ | (0.92) |
Diluted net loss per share was calculated as follows for the years ended December 31, 2023 and 2022: | | | | | | | | | Year Ended | | | December 31, | | | | 2023 | | | 2022 | Net loss attributable to common stockholders, basic | | $ | (80,736) | | $ | (71,038) | Interest expense on Convertible Notes | | | 4,172 | | | 4,596 | Gain on extinguishment of debt (Note 9) | | | (14,907) | | | — | Change in fair value of derivative liability | | | 4,502 | | | (13,841) | Net loss attributable to common stockholders, diluted | | $ | (86,969) | | $ | (80,283) | | | | | | | | Weighted average common shares outstanding, basic | | | 79,827,362 | | | 76,875,035 | Shares issuable in connection with conversion of Convertible Notes, as if converted | | | 5,769,232 | | | 5,769,232 | Weighted average common shares outstanding, diluted | | | 85,596,594 | | | 82,644,267 | | | | | | | | Net loss per share attributable to common stockholders, diluted | | $ | (1.02) | | $ | (0.97) |
For the year ended December 31, 2024, there was no dilutive impact from potentially issuable common shares. Therefore, diluted net loss per share was the same as basic net loss per share. As of December 31, 2024, the Pre-Funded Warrants (Note 12) are included in the calculation of basic and diluted net loss per share. The Company excluded the following common stock equivalents, outstanding as of December 31, 2024, 2023 and 2022 from the computation of diluted net loss per share attributable to common stockholders for the years ended December 31, 2024, 2023 and 2022 because they had an anti-dilutive impact due to the net loss incurred for the periods. | | | | | | | | | December 31, | | | 2024 | | 2023 | | 2022 | Options to purchase common stock | | 19,887,683 | | 16,136,791 | | 13,669,711 | Restricted stock units | | 3,389,604 | | 1,627,341 | | 1,092,682 | | | 23,277,287 | | 17,764,132 | | 14,762,393 |
|