Quarterly report pursuant to Section 13 or 15(d)

Summary of Significant Accounting Policies - Accounts Receivable (Details)

v3.10.0.1
Summary of Significant Accounting Policies - Accounts Receivable (Details) - USD ($)
$ in Thousands
9 Months Ended 12 Months Ended
Sep. 30, 2018
Sep. 30, 2017
Dec. 31, 2016
Changes in the Allowance for Doubtful Accounts [Roll Forward]      
Allowance for doubtful accounts, beginning of period $ 3,315 $ 7,836  
Charges to costs and expenses 483 68  
Account write-offs and other (361) (4,088)  
Allowance for doubtful accounts, end of period $ 3,437 $ 3,816 $ 7,836
Minimum      
Changes in the Allowance for Doubtful Accounts [Roll Forward]      
Accounts receivable retainage 5.00%    
Maximum      
Changes in the Allowance for Doubtful Accounts [Roll Forward]      
Accounts receivable retainage 10.00%    
Accounts receivable      
Changes in the Allowance for Doubtful Accounts [Roll Forward]      
Allowance for doubtful accounts receivable, period increase     $ 2,394