Accrued Liabilities - Schedule of Accrued Liabilities (Detail) - USD ($) $ in Thousands |
Dec. 31, 2016 |
Dec. 31, 2015 |
|---|---|---|
| Payables and Accruals [Abstract] | ||
| Customer prepayments and deposits | $ 13,421 | $ 14,318 |
| Accrued product taxes | 8,623 | 8,272 |
| Accrued product costs | 5,066 | 4,728 |
| Accrued wages and benefits | 2,926 | 7,813 |
| Other | 18,287 | 12,709 |
| Other current liabilities | $ 48,323 | $ 47,840 |