Annual report pursuant to Section 13 and 15(d)

Summary of Significant Accounting Policies - Accounts Receivable (Details)

v3.6.0.2
Summary of Significant Accounting Policies - Accounts Receivable (Details) - USD ($)
$ in Thousands
3 Months Ended 12 Months Ended
Mar. 31, 2016
Dec. 31, 2016
Dec. 31, 2015
Dec. 31, 2014
Allowance for Doubtful Accounts Receivable [Roll Forward]        
Allowance for doubtful accounts, beginning of period $ 3,729 $ 3,729 $ 2,851 $ 1,519
Charges to costs and expenses   4,332 1,451 1,988
Account write-offs and other   (225) (573) (656)
Allowance for doubtful accounts, end of period   7,836 3,729 $ 2,851
Loss contingency, maximum exposure   758    
Accounts receivable retainage reversal   $ 279 $ 1,282  
Minimum        
Allowance for Doubtful Accounts Receivable [Roll Forward]        
Accounts receivable retainage   5.00%    
Maximum        
Allowance for Doubtful Accounts Receivable [Roll Forward]        
Accounts receivable retainage   10.00%    
Operating Segments | Canada        
Allowance for Doubtful Accounts Receivable [Roll Forward]        
Interest and debt expense   $ 1,934    
Accounts Receivable        
Allowance for Doubtful Accounts Receivable [Roll Forward]        
Allowance for doubtful accounts receivable, period increase (decrease)   2,394    
Interest and debt expense   1,655    
Costs in Excess of Billings        
Allowance for Doubtful Accounts Receivable [Roll Forward]        
Allowance for doubtful accounts receivable, period increase (decrease) 476      
Construction in Progress, Gross        
Allowance for Doubtful Accounts Receivable [Roll Forward]        
Allowance for doubtful accounts receivable, period increase (decrease) $ 325      
Contract Receivable Retainage        
Allowance for Doubtful Accounts Receivable [Roll Forward]        
Interest and debt expense   $ 279