v3.5.0.2
Related Party Transactions - Feedstock and Shared Services Agreement (Details)
$ in Thousands
1 Months Ended 3 Months Ended 6 Months Ended
Apr. 30, 2011
Jun. 30, 2016
USD ($)
Jun. 30, 2015
USD ($)
Jun. 30, 2016
USD ($)
affiliate
Jun. 30, 2015
USD ($)
Dec. 31, 2015
USD ($)
Related Party Transaction [Line Items]            
Number of parties | affiliate       2    
Revenue from related party   $ 119,797 $ 80,815 $ 192,889 $ 173,865  
Receivables   837   837   $ 883
Other long-term assets, with affiliates   688   688   777
Accounts payable, due to affiliates   2,075   2,075   1,940
Feedstock and Shared Services Agreement | Hydrogen | CRRM            
Related Party Transaction [Line Items]            
Receivables   200   200   500
Feedstock and Shared Services Agreement | Hydrogen | CRNF | CRRM            
Related Party Transaction [Line Items]            
Revenue from related party   500 $ 2,000 1,600 $ 8,500  
Feedstock and Shared Services Agreement | Tail gas | CRNF | CRRM            
Related Party Transaction [Line Items]            
Receivables   200   200   200
Percentage of payment agreed to be paid for cost of capital in fourth year 15.00%          
Period for payment of cost of installation of pipe 4 years          
Other long-term assets, with affiliates   700   700   800
Feedstock and Shared Services Agreement | Products and services, excluding hydrogen and tail gas            
Related Party Transaction [Line Items]            
Receivables   100   100   200
Accounts payable, due to affiliates   $ 600   $ 600   $ 700