Quarterly report pursuant to Section 13 or 15(d)

Fair Value Measurement (Details)

v3.7.0.1
Fair Value Measurement (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2017
Jun. 30, 2016
Jun. 30, 2017
Jun. 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     (369) (662)
Warrant modification expense $ 33 $ 0 803 0
Ending balance 454 199 454 199
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,730)
Ending balance $ 0 $ 3,151 $ 0 $ 3,151