Net Loss Per Share
The following table sets forth the computation of the basic and diluted net loss per share:
Year Ended December 31,
202520242023
(in thousands, except per share data)
Net loss, basic and diluted
$(416,277)$(436,373)$(479,449)
Net loss per share, basic and diluted
$(3.32)$(3.56)$(4.28)
Weighted-average shares used in computing net loss per share, basic and diluted
125,374 122,745 111,988 
Since the Company was in a loss position for all periods presented, basic net loss per share is the same as diluted net loss per share, as the inclusion of all potential shares of common stock outstanding would have been anti-dilutive. The following weighted-average common stock equivalents were excluded from the calculation of diluted net loss per share for the periods presented as they had an anti-dilutive effect:
Year Ended December 31,
202520242023
(in thousands)
Stock options
4,910 3,990 3,566 
Restricted stock units7,283 5,199 3,474 
MSUs— 484 2,261 
PSUs1,258 1,125 389 
ESPP obligation170 209 176 
Convertible senior notes12,489 8,225 8,225 
Total26,110 19,232 18,091 

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.