| Fair Value Measurements (Details 1) $ in Thousands | 3 Months Ended | 
|---|---|
| Mar. 31, 2016  USD ($) | |
| Derivative Financial Instruments, Liabilities [Member] | |
| Balance at December 31, 2015 | $ (9,195) | 
| Gain on decrease in fair value of warrants issued with 2015 financing | 2,985 | 
| Balance at March 31, 2016 | (6,210) | 
| Contingent Consideration [Member] | |
| Balance at December 31, 2015 | (768) | 
| Gain on decrease in fair value of warrants issued with 2015 financing | 0 | 
| Balance at March 31, 2016 | $ (768) | 
| X | ||||||||||
| 
- Definition Amount of gain (loss) recognized on the income statement for financial instrument classified as a liability measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing. Reference 1: http://www.xbrl.org/2003/role/presentationRef 
 | 
| X | ||||||||||
| 
- Definition Fair value of financial instrument classified as a liability measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing. Reference 1: http://www.xbrl.org/2003/role/presentationRef 
 | 
| X | ||||||||||
| 
- Details 
 | 
| X | ||||||||||
| 
- Details 
 |