XML 44 R33.htm IDEA: XBRL DOCUMENT v3.8.0.1
Restatement of Financial Statements (Details 6) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2017
Sep. 30, 2016
Sep. 30, 2017
Sep. 30, 2016
Error Corrections and Prior Period Adjustments Restatement [Line Items]        
Net loss $ 8,982 $ 2,703 $ 9,070 $ 6,554
Provision for bad debt     1,738 0
Accounts receivable     (4,960) (3,168)
Accounts payable and accrued expenses     4,006 2,356
Net cash (used in) provided by operating activities     (2,660) 2,820
Cash and cash equivalents at end of period 38,231 $ 74,632 38,231 $ 74,632
Previously Reported        
Error Corrections and Prior Period Adjustments Restatement [Line Items]        
Net loss 6,328   6,416  
Provision for bad debt     0  
Accounts receivable     (5,764)  
Accounts payable and accrued expenses     3,894  
Net cash (used in) provided by operating activities     (2,660)  
Cash and cash equivalents at end of period 38,231   38,231  
Adjustment        
Error Corrections and Prior Period Adjustments Restatement [Line Items]        
Net loss 2,654   2,654  
Provision for bad debt     1,738  
Accounts receivable     804  
Accounts payable and accrued expenses     112  
Net cash (used in) provided by operating activities     0  
Cash and cash equivalents at end of period $ 0   $ 0