Annual report pursuant to Section 13 and 15(d)

Net Loss Per Share - Schedule of Computation of Basic and Diluted Net Loss Per Share (Details)

v3.8.0.1
Net Loss Per Share - Schedule of Computation of Basic and Diluted Net Loss Per Share (Details) - USD ($)
$ / shares in Units, $ in Thousands
3 Months Ended 12 Months Ended
Dec. 31, 2017
Sep. 30, 2017
Jun. 30, 2017
Mar. 31, 2017
Dec. 31, 2016
Sep. 30, 2016
Jun. 30, 2016
Mar. 31, 2016
Dec. 31, 2017
Dec. 31, 2016
Dec. 31, 2015
Earnings Per Share [Abstract]                      
Net loss attributable to common shareholders $ 4,897 $ (1,960) $ (1,002) $ (2,548) $ (65,754) $ (1,881) $ (3,227) $ (4,012) $ (613) $ (74,874) $ (50,122)
Adjustment for change in fair value of derivative liability                 (2,603)
Net loss attributable to common shareholders, as adjusted                 $ (613) $ (77,477) $ (50,122)
Weighted average shares outstanding used to compute net loss per share: Basic                 24,126,000 23,518,000 21,011,000
Adjustment for dilutive effect of warrants                 16,000
Diluted                 24,126,000 23,533,000 21,011,000
Net loss per share, Basic $ 0.20 $ (0.08) $ (0.04) $ (0.11) $ (3.06) $ (0.03) $ (0.14) $ (0.17) $ (0.03) $ (3.18) $ (2.40)
Net loss per share, Diluted $ 0.20 $ (0.08) $ (0.04) $ (0.11) $ (3.06) $ (0.03) $ (0.14) $ (0.17) $ (0.03) $ (3.30) $ (2.40)