Earnings (Loss) Per Share
The following table presents a reconciliation of the earnings and shares used in calculating basic and diluted earnings per share for the years ended December 31, 2024, 2023, and 2022:
Year Ended
December 31,
(in thousands, except share data)202420232022
Numerator:
Net (loss) income attributable to common stockholders
$(221,452)$(77,649)$(55,327)
Dividends allocated to participating restricted stock units(967)(1,661)— 
Net (loss) income attributable to common stockholders - basic
$(222,419)$(79,310)$(55,327)
Net (loss) income attributable to common stockholders - diluted
$(222,419)$(79,310)$(55,327)
Denominator:
Weighted average common shares outstanding50,423,243 51,641,619 52,904,606 
Weighted average restricted stock shares— — 107,200 
Basic weighted average shares outstanding
50,423,243 51,641,619 53,011,806 
Diluted weighted average shares outstanding50,423,243 51,641,619 53,011,806 
(Loss) earnings per share:
Basic
$(4.39)$(1.50)$(1.04)
Diluted
$(4.39)$(1.50)$(1.04)
For the year ended December 31, 2022, excluded from the calculation of diluted earnings per share is the effect of adding back $17.5 million of interest expense related to the Company’s convertible senior notes. For the year ended December 31, 2022, 13,431,000 of weighted average common share equivalents related to the assumed conversion of the Company’s convertible senior notes were also excluded from the calculation of diluted earnings per share, as their inclusion would be antidilutive. As of December 31, 2023, the convertible notes have been redeemed and no notes remain outstanding.
Diluted earnings per share is calculated under both the two-class method and treasury stock method, and the more dilutive amount is reported. The computation of diluted earnings per share is also based on the incremental shares that would be outstanding assuming the settlement of RSUs. During the years ended December 31, 2024, 2023, and 2022, 725,922, 496,317 and 393,610 of weighted-average unvested RSUs, respectively, were excluded from the dilutive earnings per share denominator, as their inclusion would be antidilutive. For the year ended December 31, 2024, under both the two-class method and the treasury stock method no shares were included in the dilutive earnings per share denominator, as their inclusion would be antidilutive.
Diluted earnings per share is calculated under both the two-class method and treasury stock method, and the more dilutive amount is reported. The computation of diluted earnings per share is also based on the incremental shares that would be outstanding assuming the settlement of PSUs. For the years ended December 31, 2024, 2023, and 2022, under both the two-class method and treasury stock method no additional weighted-average unvested PSUs were included in the dilutive earnings per share denominator, as their inclusion would be antidilutive. As of December 31, 2024, 2023, and 2022, there were no incremental shares of unvested PSUs.

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.