Supplemental Quarterly Information (Unaudited) - (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 |
|
| Significant items for the results of operations on a quarterly basis | |||||||||||
| Revenues | $ 560,421 | $ 624,640 | $ 558,301 | $ 297,870 | $ 387,808 | $ 394,856 | $ 373,762 | $ 230,918 | $ 2,041,232 | $ 1,387,344 | $ 1,273,831 |
| Gross profit (loss) | 81,920 | 47,350 | 24,862 | 17,384 | 106,426 | 4,405 | 15,907 | (16,195) | 171,516 | 110,543 | 160,612 |
| Selling, general, and administrative expenses including research and development expense | 31,864 | 25,604 | 25,277 | 23,703 | 27,969 | 21,995 | 19,749 | 20,535 | |||
| Impairment of property, plant and equipment | 17,893 | 0 | 0 | 0 | 17,893 | 0 | 0 | ||||
| Impairment of goodwill | 175,028 | 0 | 0 | 0 | 0 | 175,028 | 0 | ||||
| Net income (loss) from operations | 32,163 | 21,746 | (415) | (6,319) | (96,571) | (17,590) | (3,842) | (36,730) | 47,175 | (154,733) | 85,507 |
| Other income (expense), net | (6,343) | 558 | 7,432 | 159 | (5,048) | 869 | 972 | (2,471) | 1,806 | (5,678) | 603 |
| Net income (loss) attributable to the Company | $ 20,197 | $ 23,442 | $ 7,606 | $ (6,918) | $ (95,609) | $ (15,675) | $ (2,001) | $ (38,107) | $ 44,327 | $ (151,392) | $ 82,611 |
| Net income (loss) per share attributable to common stockholders - basic (in dollars per share) | $ 0.51 | $ 0.59 | $ 0.18 | $ (0.16) | $ (2.18) | $ (0.36) | $ (0.05) | $ (0.86) | $ 1.06 | $ (3.44) | $ 2.00 |
| Net income (loss) per share attributable to common stockholders - Diluted (in dollars per share) | $ 0.51 | $ 0.59 | $ 0.18 | $ (0.14) | $ (2.18) | $ (0.36) | $ (0.05) | $ (0.86) | $ 1.06 | $ (3.44) | $ 1.99 |
| Biomass-based diesel government incentives | $ 346,672 | $ 245,868 | $ 220,634 | ||||||||
| Biomass-based Diesel | |||||||||||
| Significant items for the results of operations on a quarterly basis | |||||||||||
| Biomass-based diesel government incentives | $ 95,008 | ||||||||||