Annual report pursuant to Section 13 and 15(d)

Annual report pursuant to Section 13 and 15(d)

Net Income (Loss) per Share (Tables)

v3.10.0.1
Net Income (Loss) per Share (Tables)
12 Months Ended
Dec. 31, 2018
Earnings Per Share [Abstract]  
Schedule of Earnings Per Share, Basic and Diluted
The following table provides the computation of basic and diluted net income (loss) per share for the years ended December 31, 2018, 2017 and 2016 (in thousands, except share and per share amounts):
 
  Year Ended December 31,
  2018 2017
(as adjusted)
2016
(as adjusted)
Net income (loss) $ 2,640  $ (396) $ (6,142)
Deemed dividends on preferred stock 10,198  3,645  18,011 
Gain on redemption of preferred stock (9,075) —  — 
Amortization of preferred stock beneficial conversion feature (4,571) 6,902  6,663 
Net income (loss) available to common stockholders $ 6,088  $ (10,943) $ (30,816)
Basic weighted average common shares outstanding 85,618  79,426  77,542 
Effect of potentially dilutive securities 5,950  —  — 
Diluted weighted average shares outstanding 91,568  79,426  77,542 
Basic net income (loss) per share attributable to common stockholders $ 0.07  $ (0.14) $ (0.40)
Diluted net income (loss) per share attributable to common stockholders $ 0.07  $ (0.14) $ (0.40)