XML 113 R99.htm IDEA: XBRL DOCUMENT v3.6.0.2
Selected Quarterly Financial Data (Details) - 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
Dec. 31, 2014
Income tax expense                 $ 1,581 $ (2,519) $ 3,175
Selected Quarterly Financial Information [Abstract]                      
Revenues $ 144,295 $ 164,017 $ 140,301 $ 129,623 $ 161,891 $ 137,061 $ 86,091 $ 81,455 578,236 466,498 385,818
Gross profit 11,657 24,169 16,946 14,710 17,423 8,278 6,025 8,456 67,482 40,182 44,594
Operating (loss) income (5,283) 9,531 281 (455) 3,231 (8,325) (2,712) (193) 4,074 (7,999) 10,262
(Loss) income before income taxes (6,734) 7,963 (1,310) (1,958) 1,865 (9,065) (2,960) (419) (2,039) (10,579) $ 10,052
Net (loss) income $ (6,343) $ 4,739 $ (808) $ (1,208) $ 1,439 $ (7,396) $ (1,845) $ (258) $ (3,620) $ (8,060)  
Earnings Per Share, Basic and Diluted [Abstract]                      
Basic (USD per share) $ (0.23) $ 0.17 $ (0.03) $ (0.04) $ 0.06 $ (0.27) $ (0.07) $ (0.01) $ (0.13) $ (0.29) $ 0.25
Diluted income (loss) per share (USD per share) $ (0.23) $ 0.17 $ (0.03) $ (0.04) $ 0.06 $ (0.27) $ (0.07) $ (0.01) $ (0.13) $ (0.29) $ 0.25
Restatement Adjustment                      
Income tax expense $ 800