XML 46 R34.htm IDEA: XBRL DOCUMENT v3.22.0.1
Earnings per Share (Tables)
12 Months Ended
Dec. 31, 2021
Earnings Per Share [Abstract]  
Schedule of Calculation of Basic and Diluted Earnings per Share
The calculation of basic and diluted earnings per share was as follows (in thousands, except share and per share data):
 Year Ended December 31,
 202120202019
Net loss attributable to common stockholders$(52,368)$(114,119)$(40,486)
Weighted-average common shares outstanding103,246,308 96,111,547 78,322,496 
Basic and diluted net loss per share$(0.51)$(1.19)$(0.52)
Schedule of Antidilutive Securities Excluded from Computation of Earnings Per Share
The following is a summary of outstanding anti-dilutive potential common stock that was excluded from diluted net loss per share attributable to stockholders in the following periods:
 Year Ended December 31,
(in thousands) 202120202019
Convertible notes 14,341 14,784 22,314 
Warrants2,500 2,500 2,838 
Non-qualified stock options 8,086 8,480 9,027 
Restricted stock units 1,248 417 414 
Employee Stock Purchase Plan144 25 98 
Rights agreement — — 198