Quarterly report pursuant to Section 13 or 15(d)

Summary of Significant Accounting Policies (Details)

v3.7.0.1
Summary of Significant Accounting Policies (Details) - USD ($)
$ in Thousands
Jun. 30, 2017
Dec. 31, 2016
Quoted Prices in Active Markets for Identical Assets (Level 1) [Member]    
Liabilities:    
Contingent consideration  
Total liabilities at fair value
Current derivative features related to convertible debentures
Current derivative features related to warrants  
Long-term derivative features related to convertible debentures
Long-term derivative features related to warrants  
Significant Other Observable Inputs (Level 2) [Member]    
Liabilities:    
Contingent consideration  
Total liabilities at fair value
Current derivative features related to convertible debentures
Current derivative features related to warrants  
Long-term derivative features related to convertible debentures
Long-term derivative features related to warrants  
Significant Unobservable Inputs (Level 3) [Member]    
Liabilities:    
Contingent consideration   515
Total liabilities at fair value 6,524 3,580
Current derivative features related to convertible debentures 2,964 1,749
Current derivative features related to warrants 195  
Long-term derivative features related to convertible debentures 1,966 $ 1,316
Long-term derivative features related to warrants $ 1,399