Quarterly report pursuant to Section 13 or 15(d)

Summary of Significant Accounting Policies (Disaggregation of Revenue) (Details)

v3.19.2
Summary of Significant Accounting Policies (Disaggregation of Revenue) (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2019
Jun. 30, 2018
Jun. 30, 2019
Jun. 30, 2018
Disaggregation of Revenue [Line Items]        
Total revenues from contracts with customers $ 560,113 $ 577,985 $ 1,037,854 $ 900,702
Biomass-based diesel government incentives 530 915 998 366,200
Total revenues 560,643 578,900 1,038,852 1,266,902
Biomass-based Diesel        
Disaggregation of Revenue [Line Items]        
Total revenues from contracts with customers 482,589 540,859 877,972 803,967
Biomass-based diesel government incentives 530 915 998 366,200
Total revenues 483,119 541,774 878,970 1,170,167
Services        
Disaggregation of Revenue [Line Items]        
Total revenues from contracts with customers 24,139 17,523 43,722 52,738
Biomass-based diesel government incentives 0 0 0 0
Total revenues 24,139 17,523 43,722 52,738
Corporate and other        
Disaggregation of Revenue [Line Items]        
Total revenues from contracts with customers 78,184 53,173 162,087 127,716
Biomass-based diesel government incentives 0 0 0 0
Total revenues 78,184 53,173 162,087 127,716
Intersegment Revenues        
Disaggregation of Revenue [Line Items]        
Total revenues from contracts with customers (24,799) (33,570) (45,927) (83,719)
Biomass-based diesel government incentives 0 0 0 0
Total revenues (24,799) (33,570) (45,927) (83,719)
Biomass-based Diesel        
Disaggregation of Revenue [Line Items]        
Total revenues from contracts with customers 429,813 473,516 743,925 625,603
Biomass-based Diesel | Biomass-based Diesel        
Disaggregation of Revenue [Line Items]        
Total revenues from contracts with customers 430,971 484,150 746,700 648,369
BTC due to customers 0     144,944
Biomass-based Diesel | Services        
Disaggregation of Revenue [Line Items]        
Total revenues from contracts with customers 0 0 0 0
Biomass-based Diesel | Corporate and other        
Disaggregation of Revenue [Line Items]        
Total revenues from contracts with customers 0 6,103 0 9,682
Biomass-based Diesel | Intersegment Revenues        
Disaggregation of Revenue [Line Items]        
Total revenues from contracts with customers (1,158) (16,737) (2,775) (32,448)
Petroleum diesel sales        
Disaggregation of Revenue [Line Items]        
Total revenues from contracts with customers 78,184 47,070 162,087 118,034
Petroleum diesel sales | Biomass-based Diesel        
Disaggregation of Revenue [Line Items]        
Total revenues from contracts with customers 0 0 0 0
Petroleum diesel sales | Services        
Disaggregation of Revenue [Line Items]        
Total revenues from contracts with customers 0 0 0 0
Petroleum diesel sales | Corporate and other        
Disaggregation of Revenue [Line Items]        
Total revenues from contracts with customers 78,184 47,070 162,087 118,034
Petroleum diesel sales | Intersegment Revenues        
Disaggregation of Revenue [Line Items]        
Total revenues from contracts with customers 0 0 0 0
Other biomass-based diesel revenue        
Disaggregation of Revenue [Line Items]        
Total revenues from contracts with customers 32,022 30,523 89,213 82,233
Other biomass-based diesel revenue | Biomass-based Diesel        
Disaggregation of Revenue [Line Items]        
Total revenues from contracts with customers 32,022 30,523 89,213 82,233
Other biomass-based diesel revenue | Services        
Disaggregation of Revenue [Line Items]        
Total revenues from contracts with customers 0 0 0 0
Other biomass-based diesel revenue | Corporate and other        
Disaggregation of Revenue [Line Items]        
Total revenues from contracts with customers 0 0 0 0
Other biomass-based diesel revenue | Intersegment Revenues        
Disaggregation of Revenue [Line Items]        
Total revenues from contracts with customers 0 0 0 0
Separated RIN sales        
Disaggregation of Revenue [Line Items]        
Total revenues from contracts with customers 19,596 26,186 42,059 73,365
Separated RIN sales | Biomass-based Diesel        
Disaggregation of Revenue [Line Items]        
Total revenues from contracts with customers 19,596 26,186 42,059 73,365
Separated RIN sales | Services        
Disaggregation of Revenue [Line Items]        
Total revenues from contracts with customers 0 0 0 0
Separated RIN sales | Corporate and other        
Disaggregation of Revenue [Line Items]        
Total revenues from contracts with customers 0 0 0 0
Separated RIN sales | Intersegment Revenues        
Disaggregation of Revenue [Line Items]        
Total revenues from contracts with customers 0 0 0 0
Other revenues        
Disaggregation of Revenue [Line Items]        
Total revenues from contracts with customers 498 690 570 1,467
Other revenues | Biomass-based Diesel        
Disaggregation of Revenue [Line Items]        
Total revenues from contracts with customers 0 0 0 0
Other revenues | Services        
Disaggregation of Revenue [Line Items]        
Total revenues from contracts with customers 24,139 17,523 43,722 52,738
Other revenues | Corporate and other        
Disaggregation of Revenue [Line Items]        
Total revenues from contracts with customers 0 0 0 0
Other revenues | Intersegment Revenues        
Disaggregation of Revenue [Line Items]        
Total revenues from contracts with customers $ (23,641) $ (16,833) $ (43,152) $ (51,271)