Selected Quarterly Data (Unaudited) - Summary of Selected Quarterly Data (Detail) - USD ($)
$ / shares in Units, $ in Thousands
3 Months Ended 12 Months Ended
Dec. 31, 2016
Sep. 30, 2016
Jun. 30, 2016
Mar. 31, 2016
Dec. 31, 2015
Sep. 30, 2015
Jun. 30, 2015
Mar. 31, 2015
Dec. 31, 2016
Dec. 31, 2015
Error Corrections and Prior Period Adjustments Restatement [Line Items]                    
Net revenue $ 43,727 $ 19,658 $ 20,304 $ 18,519 $ 40,692 $ 19,967 $ 22,274 $ 24,192 $ 102,208 $ 107,125
Gross profit 16,807 8,437 8,682 7,876 16,836 8,504 9,398 9,318 41,802 44,056
Net income (loss) from continuing operations         811 (3,670) (1,074) (2,330) (26,470) (6,263)
Income from discontinued operations, net of tax (Note 5)         0 1,610 (7,704) 14,512 0 8,418
Net income (loss) $ 2,903 $ (3,413) $ (22,979) $ (2,981) $ 811 $ (2,060) $ (8,778) $ 12,182 $ (26,470) 2,155
Net income (loss) per basic and diluted common share from continuing operations (in dollars per share)         $ 0.05 $ (0.21) $ (0.06) $ (0.13)    
Net income (loss) per basic and diluted common share from discontinued operations (in dollars per share)         0.00 0.09 (0.44) 0.83    
Total net income (loss) per diluted common share (in dollars per share) $ 0.17 $ (0.20) $ (1.37) $ (0.18) $ 0.05 $ (0.12) $ (0.50) $ 0.69    
As previously reported [Member]                    
Error Corrections and Prior Period Adjustments Restatement [Line Items]                    
Net revenue $ 43,727 $ 19,165 $ 19,841 $ 18,078 $ 39,696 $ 19,472 $ 21,764 $ 23,576   104,508
Gross profit 16,807 7,944 8,219 7,435 15,840 8,009 8,888 8,702   41,439
Net income (loss)                   2,155
Revision [Member]                    
Error Corrections and Prior Period Adjustments Restatement [Line Items]                    
Net revenue 0 493 463 441 996 495 510 616   2,617
Gross profit $ 0 $ 493 $ 463 $ 441 $ 996 $ 495 $ 510 $ 616   2,617
Net income (loss)                   $ 0