XML 47 R19.htm IDEA: XBRL DOCUMENT v3.22.4
Earnings per Share
12 Months Ended
Dec. 31, 2022
Earnings Per Share [Abstract]  
Earnings per Share Earnings per ShareBasic EPS excludes dilution and is computed by dividing net loss attributable to common stockholders by the weighted-average number of common shares outstanding for the period. Diluted EPS reflects the potential dilution that could occur if securities or other contracts to issue common stock were exercised or converted into common stock using the treasury stock method. Potentially dilutive securities (consisting primarily of the convertible notes calculated using the if-converted and treasury stock method and warrants, stock options and RSUs calculated using the treasury stock method) are excluded from the diluted EPS computation in loss periods and when the applicable exercise price is greater than the market price on the period end date as their effect would be anti-dilutive.
The calculation of basic and diluted earnings per share was as follows (in thousands, except share and per share data):
 Year Ended December 31,
 202220212020
Net loss attributable to common stockholders$(70,705)$(52,368)$(114,119)
Weighted-average common shares outstanding107,269,331 103,246,308 96,111,547 
Basic and diluted net loss per share$(0.66)$(0.51)$(1.19)
The following is a summary of outstanding potential shares of common stock that have been excluded from the computation of diluted net loss per share attributable to common stockholders because their inclusion would have been anti-dilutive:
 Year Ended December 31,
(in thousands) 202220212020
Convertible notes 14,090 14,341 14,784 
Warrants— 2,500 2,500 
Non-qualified stock options 8,133 8,086 8,480 
Restricted stock units 1,178 1,248 417 
Employee Stock Purchase Plan426 144 25 
Total23,827 26,319 26,206