Prior Year Revision (Details) - USD ($)
$ 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
Sales and marketing                 23,167 23,102
Total operating expense                 69,186 50,251
Loss from operations                 (27,384) (6,195)
Net income (loss) 2,903 (3,413) (22,979) (2,981) 811 (2,060) (8,778) 12,182 $ (26,470) 2,155
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
Sales and marketing                   20,485
Total operating expense                   47,634
Loss from operations                   (6,195)
Net income (loss)                   2,155
Adjustments [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
Sales and marketing                   2,617
Total operating expense                   2,617
Loss from operations                   0
Net income (loss)                   $ 0