Net Income (Loss) per Common Share
The following table sets forth the computation of basic and diluted net income (loss) per share attributable to the Company’s common stockholders (in thousands, except per share data):
Years Ended December 31,
202520242023
Net income (loss) attributable to common stockholders
$219,134 $(83,421)$(26,257)
Shares used in net income (loss) per share computations:
Weighted-average shares used in computing net income (loss) per share attributable to common stockholders, basic
166,408 131,262 37,131 
Effect of potentially dilutive equivalent shares13,143 — — 
Weighted-average shares used in computing net income (loss) per share attributable to common stockholders, diluted
179,551 131,262 37,131 
Net income (loss) per share attributable to common stockholders, basic
$1.32 $(0.64)$(0.71)
Net income (loss) per share attributable to common stockholders, diluted
$1.22 $(0.64)$(0.71)
Potentially dilutive securities include dilutive common stock from assumed exercise of stock options, RSUs, Warrants, and ESPP shares using the treasury stock method. Under the treasury stock method, potential shares outstanding are not included in the computation of diluted net income per share if their effect is anti-dilutive. Anti-dilutive potential shares are as follows (in thousands):
Years Ended December 31,
202520242023
Options to purchase common stock— 5,233 10,050 
Redeemable convertible preferred stock— — 90,891 
Unvested RSUs
62 13,620 8,583 
Unvested PSUs
— 155 — 
Warrants for common stock— 2,442 2,442 
ESPP60 — 
Total68 21,510 111,966 

About Earnings Per Share Disclosures

The earnings per share disclosure breaks down the calculation from net income to both basic and diluted EPS, revealing the full impact of a company's capital structure on per-share economics. The reconciliation between basic and diluted share counts exposes how many stock options, RSUs, convertible securities, and warrants are potentially dilutive to existing shareholders.

Key signals: a widening gap between basic and diluted shares indicates growing dilution from equity compensation or convertible instruments. Anti-dilutive securities excluded from the diluted calculation deserve attention — they represent latent dilution that will materialize if the stock price rises. Watch for the effect of share buybacks on per-share metrics: EPS growth driven primarily by repurchases rather than income growth signals weakening fundamentals. Compare year-over-year changes in the diluted share count against equity compensation expense to assess whether management is effectively managing dilution.