Annual report pursuant to Section 13 and 15(d)

Fair Value Measurements (Details 1)

v3.8.0.1
Fair Value Measurements (Details 1) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2017
Dec. 31, 2016
Dec. 31, 2015
Gain on revaluation of 2015 and April 2017 Warrants $ 3,909 $ 4,286 $ 2,505
Derivative Financial Instruments, Liabilities [Member]      
Balance 3,546    
Initial fair value of April 2017 Warrants 3,301    
Repurchase of April 2017 Warrants (2,296)    
Loss on repurchase of April 2017 Warrants 1,067    
Gain on revaluation of 2015 and April 2017 Warrants (3,909)    
Reclassification of warrant liability to equity upon exercise of warrants (61)    
Gain on revaluation 0    
Reclassification to accrued liabilities 0    
Balance 1,648 3,546  
Contingent Consideration [Member]      
Balance 217    
Initial fair value of April 2017 Warrants 0    
Repurchase of April 2017 Warrants 0    
Loss on repurchase of April 2017 Warrants 0    
Gain on revaluation (255)    
Reclassification to accrued liabilities 80    
Balance 42 217  
Contingent Success Fee [Member]      
Balance 116    
Initial fair value of April 2017 Warrants 0    
Repurchase of April 2017 Warrants 0    
Loss on repurchase of April 2017 Warrants 0    
Gain on revaluation (77)    
Reclassification to accrued liabilities 0    
Balance $ 39 $ 116