Quarterly report pursuant to Section 13 or 15(d)

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

v3.21.2
Summary of Significant Accounting Policies (Disaggregation of Revenue) (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2021
Sep. 30, 2020
Sep. 30, 2021
Sep. 30, 2020
Disaggregation of Revenue [Line Items]        
Total revenues from contracts with customers $ 919,055 $ 492,874 $ 2,139,996 $ 1,351,214
Biomass-based diesel government incentives 87,287 79,484 222,309 238,006
Total revenues 1,006,342 572,358 2,362,305 1,589,220
Intersegment Revenues        
Disaggregation of Revenue [Line Items]        
Total revenues from contracts with customers (100,716) (24,868) (139,839) (73,377)
Biomass-based diesel government incentives 0 0 0 0
Total revenues (100,716) (24,868) (139,839) (73,377)
Biomass-based Diesel | Operating Segments        
Disaggregation of Revenue [Line Items]        
Total revenues from contracts with customers 886,747 476,458 2,035,864 1,270,456
Biomass-based diesel government incentives 87,287 79,484 222,309 238,006
Total revenues 974,034 555,942 2,258,173 1,508,462
Services | Operating Segments        
Disaggregation of Revenue [Line Items]        
Total revenues from contracts with customers 99,442 21,483 136,202 67,502
Biomass-based diesel government incentives 0 0 0 0
Total revenues 99,442 21,483 136,202 67,502
Corporate and other | Operating Segments        
Disaggregation of Revenue [Line Items]        
Total revenues from contracts with customers 33,582 19,801 107,769 86,633
Biomass-based diesel government incentives 0 0 0 0
Total revenues 33,582 19,801 107,769 86,633
Biomass-based Diesel        
Disaggregation of Revenue [Line Items]        
Total revenues from contracts with customers 676,228 383,749 1,596,700 1,003,130
Biomass-based Diesel | Intersegment Revenues        
Disaggregation of Revenue [Line Items]        
Total revenues from contracts with customers (1,278) (3,490) (3,695) (6,593)
Biomass-based Diesel | Biomass-based Diesel        
Disaggregation of Revenue [Line Items]        
BTC related amount due to customers   (19)   1,085
Biomass-based Diesel | Biomass-based Diesel | Operating Segments        
Disaggregation of Revenue [Line Items]        
Total revenues from contracts with customers 677,506 387,239 1,600,395 1,009,723
Biomass-based Diesel | Services | Operating Segments        
Disaggregation of Revenue [Line Items]        
Total revenues from contracts with customers 0 0 0 0
Biomass-based Diesel | Corporate and other | Operating Segments        
Disaggregation of Revenue [Line Items]        
Total revenues from contracts with customers 0 0 0 0
Petroleum diesel sales        
Disaggregation of Revenue [Line Items]        
Total revenues from contracts with customers 33,582 19,801 107,769 86,633
Petroleum diesel sales | Intersegment Revenues        
Disaggregation of Revenue [Line Items]        
Total revenues from contracts with customers 0 0 0 0
Petroleum diesel sales | Biomass-based Diesel | Operating Segments        
Disaggregation of Revenue [Line Items]        
Total revenues from contracts with customers 0 0 0 0
Petroleum diesel sales | Services | Operating Segments        
Disaggregation of Revenue [Line Items]        
Total revenues from contracts with customers 0 0 0 0
Petroleum diesel sales | Corporate and other | Operating Segments        
Disaggregation of Revenue [Line Items]        
Total revenues from contracts with customers 33,582 19,801 107,769 86,633
LCFS credit sales        
Disaggregation of Revenue [Line Items]        
Total revenues from contracts with customers 27,921 32,636 105,382 97,379
LCFS credit sales | Intersegment Revenues        
Disaggregation of Revenue [Line Items]        
Total revenues from contracts with customers 0 0 0 0
LCFS credit sales | Biomass-based Diesel | Operating Segments        
Disaggregation of Revenue [Line Items]        
Total revenues from contracts with customers 27,921 32,636 105,382 97,379
LCFS credit sales | Services | Operating Segments        
Disaggregation of Revenue [Line Items]        
Total revenues from contracts with customers 0 0 0 0
LCFS credit sales | Corporate and other | Operating Segments        
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 142,402 27,492 239,391 70,004
Separated RIN sales | Intersegment Revenues        
Disaggregation of Revenue [Line Items]        
Total revenues from contracts with customers 0 0 0 0
Separated RIN sales | Biomass-based Diesel | Operating Segments        
Disaggregation of Revenue [Line Items]        
Total revenues from contracts with customers 142,402 27,492 239,391 70,004
Separated RIN sales | Services | Operating Segments        
Disaggregation of Revenue [Line Items]        
Total revenues from contracts with customers 0 0 0 0
Separated RIN sales | Corporate and other | Operating Segments        
Disaggregation of Revenue [Line Items]        
Total revenues from contracts with customers 0 0 0 0
Co-product sales        
Disaggregation of Revenue [Line Items]        
Total revenues from contracts with customers 25,519 11,732 54,735 36,684
Co-product sales | Intersegment Revenues        
Disaggregation of Revenue [Line Items]        
Total revenues from contracts with customers 0 0 0 0
Co-product sales | Biomass-based Diesel | Operating Segments        
Disaggregation of Revenue [Line Items]        
Total revenues from contracts with customers 25,519 11,732 54,735 36,684
Co-product sales | Services | Operating Segments        
Disaggregation of Revenue [Line Items]        
Total revenues from contracts with customers 0 0 0 0
Co-product sales | Corporate and other | Operating Segments        
Disaggregation of Revenue [Line Items]        
Total revenues from contracts with customers 0 0 0 0
Raw material sales        
Disaggregation of Revenue [Line Items]        
Total revenues from contracts with customers 3,496 6,476 8,581 25,122
Raw material sales | Intersegment Revenues        
Disaggregation of Revenue [Line Items]        
Total revenues from contracts with customers 0 0 0 0
Raw material sales | Biomass-based Diesel | Operating Segments        
Disaggregation of Revenue [Line Items]        
Total revenues from contracts with customers 3,496 6,476 8,581 25,122
Raw material sales | Services | Operating Segments        
Disaggregation of Revenue [Line Items]        
Total revenues from contracts with customers 0 0 0 0
Raw material sales | Corporate and other | Operating Segments        
Disaggregation of Revenue [Line Items]        
Total revenues from contracts with customers 0 0 0 0
Other bio-based diesel revenue        
Disaggregation of Revenue [Line Items]        
Total revenues from contracts with customers 9,903 10,883 27,380 31,544
Other bio-based diesel revenue | Intersegment Revenues        
Disaggregation of Revenue [Line Items]        
Total revenues from contracts with customers 0 0 0 0
Other bio-based diesel revenue | Biomass-based Diesel | Operating Segments        
Disaggregation of Revenue [Line Items]        
Total revenues from contracts with customers 9,903 10,883 27,380 31,544
Other bio-based diesel revenue | Services | Operating Segments        
Disaggregation of Revenue [Line Items]        
Total revenues from contracts with customers 0 0 0 0
Other bio-based diesel revenue | Corporate and other | Operating Segments        
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 4 105 58 718
Other revenues | Intersegment Revenues        
Disaggregation of Revenue [Line Items]        
Total revenues from contracts with customers (99,438) (21,378) (136,144) (66,784)
Other revenues | Biomass-based Diesel | Operating Segments        
Disaggregation of Revenue [Line Items]        
Total revenues from contracts with customers 0 0 0 0
Other revenues | Services | Operating Segments        
Disaggregation of Revenue [Line Items]        
Total revenues from contracts with customers 99,442 21,483 136,202 67,502
Other revenues | Corporate and other | Operating Segments        
Disaggregation of Revenue [Line Items]        
Total revenues from contracts with customers $ 0 $ 0 $ 0 $ 0