Quarterly report pursuant to Section 13 or 15(d)

Fair Value Measurements - Assets And Liabilities Measured At Fair Value (Details)

v3.8.0.1
Fair Value Measurements - Assets And Liabilities Measured At Fair Value (Details) - Fair Value, Measurements, Recurring - USD ($)
$ in Thousands
Sep. 30, 2017
Dec. 31, 2016
Assets:    
Total assets $ 17,749 $ 13,898
Liabilities:    
Total liabilities 40,565 61,812
Quoted prices in active markets for identical assets (Level 1)    
Assets:    
Total assets 15,729 9,842
Liabilities:    
Total liabilities 0 0
Significant other observable inputs (Level 2)    
Assets:    
Total assets 2,020 4,056
Liabilities:    
Total liabilities 264 0
Significant unobservable inputs (Level 3)    
Assets:    
Total assets 0 0
Liabilities:    
Total liabilities 40,301 61,812
Embedded conversion option    
Liabilities:    
Total liabilities   16,736
Embedded conversion option | Quoted prices in active markets for identical assets (Level 1)    
Liabilities:    
Total liabilities   0
Embedded conversion option | Significant other observable inputs (Level 2)    
Liabilities:    
Total liabilities   0
Embedded conversion option | Significant unobservable inputs (Level 3)    
Liabilities:    
Total liabilities   16,736
Forward contracts    
Liabilities:    
Total liabilities 264  
Forward contracts | Quoted prices in active markets for identical assets (Level 1)    
Liabilities:    
Total liabilities 0  
Forward contracts | Significant other observable inputs (Level 2)    
Liabilities:    
Total liabilities 264  
Forward contracts | Significant unobservable inputs (Level 3)    
Liabilities:    
Total liabilities 0  
Contingent consideration    
Liabilities:    
Total liabilities 40,301 45,076
Contingent consideration | Quoted prices in active markets for identical assets (Level 1)    
Liabilities:    
Total liabilities 0 0
Contingent consideration | Significant other observable inputs (Level 2)    
Liabilities:    
Total liabilities 0 0
Contingent consideration | Significant unobservable inputs (Level 3)    
Liabilities:    
Total liabilities 40,301 45,076
Money market funds    
Assets:    
Total assets 12,621 5,314
Money market funds | Quoted prices in active markets for identical assets (Level 1)    
Assets:    
Total assets 12,621 5,314
Money market funds | Significant other observable inputs (Level 2)    
Assets:    
Total assets 0 0
Money market funds | Significant unobservable inputs (Level 3)    
Assets:    
Total assets 0 0
Common stock investments, available for sale    
Assets:    
Total assets 3,108 4,528
Common stock investments, available for sale | Quoted prices in active markets for identical assets (Level 1)    
Assets:    
Total assets 3,108 4,528
Common stock investments, available for sale | Significant other observable inputs (Level 2)    
Assets:    
Total assets 0 0
Common stock investments, available for sale | Significant unobservable inputs (Level 3)    
Assets:    
Total assets 0 0
Common stock options/warrants    
Assets:    
Total assets 2,020 4,017
Common stock options/warrants | Quoted prices in active markets for identical assets (Level 1)    
Assets:    
Total assets 0 0
Common stock options/warrants | Significant other observable inputs (Level 2)    
Assets:    
Total assets 2,020 4,017
Common stock options/warrants | Significant unobservable inputs (Level 3)    
Assets:    
Total assets $ 0 0
Forward contracts    
Assets:    
Total assets   39
Forward contracts | Quoted prices in active markets for identical assets (Level 1)    
Assets:    
Total assets   0
Forward contracts | Significant other observable inputs (Level 2)    
Assets:    
Total assets   39
Forward contracts | Significant unobservable inputs (Level 3)    
Assets:    
Total assets   $ 0