| Calculation of Basic and Diluted Net Income (Loss) per Share Attributable to Common Stock |
The following table presents the calculation of basic and diluted net income (loss) per share attributable to common stock: | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Three months ended September 30, | | Nine months ended September 30, | | 2024 | | 2023 | | 2024 | | 2023 | | Class A | | Class B | | | | Class A | | Class B | | | | Class A | | Class B | | | | Class A | | Class B | | | | (in thousands, except share and per share data) | | Basic net income (loss) per share attributable to common stockholders: | | | | | | | | | | | | | | | | | | | | | | | | | Numerator: | | | | | | | | | | | | | | | | | | | | | | | | | Net income (loss) attributable to common stockholders | $ | 16,782 | | | $ | 13,071 | | | | | $ | (922) | | | $ | (6,461) | | | | | $ | (214,623) | | | $ | (340,689) | | | | | $ | (13,149) | | | $ | (96,209) | | | | | Denominator: | | | | | | | | | | | | | | | | | | | | | | | | | Basic weighted-average common shares outstanding | 95,100,497 | | 74,069,425 | | | | 7,346,923 | | 51,508,666 | | | | 52,069,654 | | 82,654,238 | | | | 7,033,315 | | 51,462,229 | | | | Basic income (loss) per share attributable to common stockholders: | $ | 0.18 | | | $ | 0.18 | | | | | $ | (0.13) | | | $ | (0.13) | | | | | $ | (4.12) | | | $ | (4.12) | | | | | $ | (1.87) | | | $ | (1.87) | | | | | Diluted net income (loss) per share attributable to common stockholders: | | | | | | | | | | | | | | | | | | | | | | | | | Numerator: | | | | | | | | | | | | | | | | | | | | | | | | | Net income (loss) attributable to common stockholders | $ | 18,356 | | | $ | 11,497 | | | | | $ | (922) | | | $ | (6,461) | | | | | $ | (214,623) | | | $ | (340,689) | | | | | $ | (13,149) | | | $ | (96,209) | | | | | Denominator: | | | | | | | | | | | | | | | | | | | | | | | | | Basic weighted-average common shares outstanding | 95,100,497 | | 74,069,425 | | | | 7,346,923 | | 51,508,666 | | | | 52,069,654 | | 82,654,238 | | | | 7,033,315 | | 51,462,229 | | | | Weighted-average effect of dilutive potential common stock | 23,152,994 | | — | | | | — | | — | | | | — | | — | | | | — | | — | | | | Shares used in computation of diluted net income (loss) per share attributable to common stockholders | 118,253,491 | | 74,069,425 | | | | 7,346,923 | | 51,508,666 | | | | 52,069,654 | | 82,654,238 | | | | 7,033,315 | | 51,462,229 | | | | Diluted net income (loss) per share attributable to common stockholders | $ | 0.16 | | | $ | 0.16 | | | | | $ | (0.13) | | | $ | (0.13) | | | | | $ | (4.12) | | | $ | (4.12) | | | | | $ | (1.87) | | | $ | (1.87) | | | |
|
| Schedule of Antidilutive Securities Excluded from Computation of Diluted Net Income (Loss) per Share Attributable to Common Stock |
The following outstanding potentially dilutive shares, including stock options that have been exercised prior to vesting, were excluded from the computation of diluted net income (loss) per share attributable to common stock for the periods presented because the impact of including them would have been anti-dilutive. | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Three months ended September 30, | | Nine months ended September 30, | | 2024 | | 2023 | | 2024 | | 2023 | | Class A | | Class B | | | | Class A | | Class B | | | | Class A | | Class B | | | | Class A | | Class B | | | | Stock options | 2,968,360 | | | — | | | | | 15,457,662 | | | 8,104,668 | | | | | 14,503,023 | | | 4,155,917 | | | | | 15,457,662 | | | 8,104,668 | | | | | Unvested RSUs and RSAs | 197,162 | | | — | | | | | 16,187,588 | | | 4,475,150 | | | | | 13,193,757 | | | 635,484 | | | | | 16,187,588 | | | 4,475,150 | | | | | Preferred shares | — | | | — | | | | | 5,104,017 | | | 67,917,432 | | | | | — | | | — | | | | | 5,104,017 | | | 67,917,432 | | | | | 3,165,522 | | | — | | | | | 36,749,267 | | | 80,497,250 | | | | | 27,696,780 | | | 4,791,401 | | | | | 36,749,267 | | | 80,497,250 | | | |
|