v3.8.0.1
Summary of Significant Accounting Policies - Effect of 606 Adoption on Balance Sheet (Details) - USD ($)
$ in Thousands
Mar. 31, 2018
Jan. 01, 2018
Dec. 31, 2017
New Accounting Pronouncements or Change in Accounting Principle [Line Items]      
Accounts receivable, net $ 113,450   $ 101,012
Inventories 39,970   34,345
Accounts payable 65,753   49,992
Accrued expenses and other current liabilities 8,714   $ 11,880
Calculated under Revenue Guidance in Effect before Topic 606      
New Accounting Pronouncements or Change in Accounting Principle [Line Items]      
Accounts receivable, net 112,604 $ 102,012  
Inventories 40,416 33,814  
Accounts payable 65,695 50,095  
Accrued expenses and other current liabilities 8,642    
Accounting Standards Update 2014-09 | Difference between Revenue Guidance in Effect before and after Topic 606      
New Accounting Pronouncements or Change in Accounting Principle [Line Items]      
Accounts receivable, net (846) 1,000  
Inventories 446 (531)  
Accounts payable (58) $ 103  
Accrued expenses and other current liabilities $ (72)