The Company computes basic earnings (loss) per share (“EPS”) attributable to common stockholders by dividing net income (loss) attributable to common stockholders by the weighted-average number of shares of common stock outstanding during the period. Diluted EPS is calculated by adjusting weighted average shares outstanding for the dilutive effect of potential common shares, determined using the treasury-stock method. For purposes of the diluted EPS calculation, restricted stock units and performance shares are considered to be potential common shares.
The following table sets forth the computation of the Company’s basic and diluted EPS attributable to common stockholders for the fiscal periods indicated (in thousands, except share and per share amounts):
Year-ended December 31,
202420232022
Net loss
$(34,008)$(84,402)$(382,140)
Weighted-average common shares outstanding—basic
127,443,657 123,726,252 119,698,776 
Effect of dilutive securities:
Restricted stock units and performance shares
— — — 
Weighted-average common shares outstanding—diluted
127,443,657 123,726,252 119,698,776 
Loss per share
Basic and diluted
$(0.27)$(0.68)$(3.19)
The following table includes the number of units and shares that may be dilutive common shares in the future, and were not included in the computation of diluted loss per share because the effect was anti-dilutive for the fiscal periods indicated:
Year-ended December 31,
202420232022
Restricted stock units and performance shares
12,153,102 8,098,660 10,638,077 

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.