| Schedule of Net Income (Loss) Available to Common Stockholders |
A reconciliation of net income (loss) available to common stockholders and the number of shares in the calculation of basic and diluted net income (loss) per share is as follows (in thousands, except share and per share data): | | | | | | | | | | | | | | | | | | | | | | | | | Three Months Ended June 30, | | Six Months Ended June 30, | | 2024 | | 2023 | | 2024 | | 2023 | | Numerator: | | | | | | | | | Net income (loss) attributable to Class A and Class B common stockholders | $ | 5,729 | | | $ | (17,076) | | | $ | 3,373 | | | $ | (30,782) | | | Denominator: | | | | | | | | | Weighted-average Class A and Class B common shares outstanding—basic | 161,197,680 | | | 162,324,314 | | | 161,766,287 | | | 162,005,150 | | | Dilutive effect of outstanding stock-based compensation awards | 9,275,144 | | | — | | | 9,842,079 | | | — | | | Weighted-average common shares outstanding—diluted | 170,472,824 | | | 162,324,314 | | | 171,608,366 | | | 162,005,150 | | | | | | | | | | Net income (loss) per share attributable to Class A and Class B common stockholders––basic | $ | 0.04 | | | $ | (0.11) | | | $ | 0.02 | | | $ | (0.19) | | Net income (loss) per share attributable to common stockholders—diluted | $ | 0.03 | | | $ | (0.11) | | | $ | 0.02 | | | $ | (0.19) | |
|
| Schedule of Anti-dilutive Securities Excluded from Loss per Share |
The following weighted-average potential common shares were excluded from the computation of diluted net income (loss) per share attributable to common stockholders for the periods presented, because including them would have been anti-dilutive (on an as-converted basis): | | | | | | | | | | | | | | | | | | | | | | | | | Three Months Ended June 30, | | Six Months Ended June 30, | | 2024 | | 2023 | | 2024 | | 2023 | Weighted-average stock options | 5,790,497 | | | 26,658,312 | | | 5,842,461 | | | 27,779,202 | | Weighted-average RSUs and PSUs | 10,184,044 | | | 11,298,462 | | | 9,752,507 | | | 10,948,330 | | Weighted-average estimated to be purchased under ESPP | — | | | 191,968 | | | — | | | 241,351 | | | Total | 15,974,541 | | | 38,148,742 | | | 15,594,968 | | | 38,968,883 | |
|