v3.26.1
Net Income (Loss) Per Share
6 Months Ended
Jun. 30, 2026
Earnings Per Share [Abstract]  
Net Income (Loss) Per Share Net Income (Loss) Per Share
The Company computes net income (loss) per share attributable to common stockholders using the two-class method required for multiple classes of common stock and participating securities. The holders of our Class A and Class B common stock (together, "common stock") have identical liquidation and dividend rights but different voting rights. Accordingly, the Company presents net income (loss) per share for Class A and Class B common stock together.
Basic net income (loss) per share is computed by dividing the net income (loss) by the weighted-average number of shares of common stock outstanding during the period. Diluted net income (loss) per share is computed by dividing net income (loss) by the weighted-average number of shares of common stock outstanding adjusted for the dilutive effect of all potential shares of common stock. In periods when the Company reported a net loss, diluted net loss per share is the same as basic net loss per share because the effects of potentially dilutive items were anti-dilutive.
The following table presents the calculation of basic and diluted net income per share (in thousands, except per share data):

Three Months Ended
June 30,
Six Months Ended
June 30,
2026202520262025
Basic net income (loss) per share:
Net income (loss)$(17,931)$34,538 $(31,401)$180 
Weighted average common shares, basic129,984,169 123,755,409 129,050,312 123,183,924 
Basic net income (loss) per share$(0.14)$0.28 $(0.24)$0.00 
Diluted net income (loss) per share:
Net income (loss)$(17,931)$34,538 $(31,401)$180 
Weighted average common shares, basic129,984,169 123,755,409 129,050,312 123,183,924 
Effect of dilutive awards:
Employee stock plans— 754,311 — 1,074,226 
Weighted-average common shares, diluted129,984,169 124,509,720 129,050,312 124,258,150 
Diluted net income (loss) per share$(0.14)$0.28 $(0.24)$0.00 

The following outstanding shares of common stock equivalents were excluded from the computation of diluted net income (loss) per share for the periods presented because including them would have had an anti-dilutive effect:
Three Months Ended
June 30,
Six Months Ended
June 30,
2026202520262025
Restricted stock units8,758,290 6,538,214 8,758,290 5,598,764 
Stock options to purchase common stock3,390,826 3,332,653 3,390,826 3,404,257 
Shares committed under the ESPP73,968 — 73,968 — 
Total12,223,084 9,870,867 12,223,084 9,003,021