Quarterly report pursuant to Section 13 or 15(d)

Fair Value Measurement (Details)

v3.8.0.1
Fair Value Measurement (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2017
Sep. 30, 2016
Sep. 30, 2017
Sep. 30, 2016
Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation [Line Items]        
Beginning balance     $ 20 $ 861
Change in fair value of warrant liability     (404) (797)
Warrant modification expense $ 0 $ 0 803 0
Ending balance 419 64 419 64
Contingent Consideration [Member]        
Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation [Line Items]        
Beginning balance     1,816 17,028
Payments of contingent consideration     (1,851) (5,147)
Change in fair value of warrant liability     35 (8,634)
Ending balance $ 0 $ 3,247 $ 0 $ 3,247