Goodwill and Intangible Assets (Amortization Expense) (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2018
Jun. 30, 2017
Jun. 30, 2018
Jun. 30, 2017
Amortization expense        
Amortization of intangible assets $ 1,439 $ 1,321 $ 2,885 $ 2,551
Cost of revenue        
Amortization expense        
Amortization of intangible assets 924 791 1,845 1,565
Research and development        
Amortization expense        
Amortization of intangible assets 18 47 46 95
Sales and marketing        
Amortization expense        
Amortization of intangible assets $ 497 $ 483 $ 994 $ 891