Annual report pursuant to Section 13 and 15(d)

Income Taxes - Domestic and Foreign Components of (Loss) Income Before Provision for Income Taxes (Detail)

v3.8.0.1
Income Taxes - Domestic and Foreign Components of (Loss) Income Before Provision for Income Taxes (Detail) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2017
Dec. 31, 2016
Dec. 31, 2015
Income Tax Disclosure [Abstract]      
Domestic $ 12,424 $ 23,817 $ (15,777)
Foreign 2,817 3,669 2,713
Income (loss) before income taxes $ 15,241 $ 27,486 $ (13,064)