Related Party Transactions - Commercial Agreements (Details) - Delek | May 01, 2020USD ($) | Apr. 01, 2020USD ($)bbl$ / bbl | Mar. 31, 2020bbl$ / bbl | Mar. 30, 2020bbl$ / bbl | Jan. 01, 2020bbl$ / bbl | Jun. 01, 2018bbl$ / bbl | Mar. 01, 2018USD ($)bbl$ / bbl | Mar. 31, 2015USD ($)$ / bbl | Feb. 28, 2014USD ($)bbl$ / bbl | Jul. 31, 2013USD ($)bbl$ / bbl | Nov. 30, 2012USD ($)bbl$ / bbl | Dec. 31, 2020 |
Minimum | | | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | | | |
Term of agreement (years) | | | | | | | | | | | | 5 years |
Maximum | | | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | | | |
Term of agreement (years) | | | | | | | | | | | | 10 years |
Lion Pipeline System and Gathering System | Crude Oil Pipeline | | | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | | | |
Minimum throughput commitment (bpd) | bbl | | | | | | | | | | | 46,000 | |
Throughput commitment tariff rate (dollars per barrel) | | | | | | | | | | | 1.05 | |
Lion Pipeline System and Gathering System | Crude Oil Pipeline | Minimum | | | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | | | |
Term of agreement (years) | | | | | | | | | | | 5 years | |
Lion Pipeline System and Gathering System | Crude Oil Pipeline | Maximum | | | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | | | |
Term of agreement (years) | | | | | | | | | | | 15 years | |
Lion Pipeline System and Gathering System | Refined Product Pipeline | | | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | | | |
Minimum throughput commitment (bpd) | bbl | | | | | | | | | | | 40,000 | |
Throughput commitment tariff rate (dollars per barrel) | | | | | | | | | | | 0.12 | |
Lion Pipeline System and Gathering System | Refined Product Pipeline | Minimum | | | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | | | |
Term of agreement (years) | | | | | | | | | | | 5 years | |
Lion Pipeline System and Gathering System | Refined Product Pipeline | Maximum | | | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | | | |
Term of agreement (years) | | | | | | | | | | | 15 years | |
Lion Pipeline System and Gathering System | Gathering Assets | | | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | | | |
Minimum throughput commitment (bpd) | bbl | | | | | | | | | | | 14,000 | |
Throughput commitment tariff rate (dollars per barrel) | | | | | | | | | | | 2.83 | |
Lion Pipeline System and Gathering System | Gathering Assets | Minimum | | | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | | | |
Term of agreement (years) | | | | | | | | | | | 5 years | |
Lion Pipeline System and Gathering System | Gathering Assets | Maximum | | | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | | | |
Term of agreement (years) | | | | | | | | | | | 15 years | |
East Texas Crude Logistics System | | | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | | | |
Throughput volume subject to additional fee (bpd) | bbl | | | | | | | | | | | 50,000 | |
Throughput commitment rate, additional for excess barrels (dollars per barrel) | | | | | | | | | | | 0.74 | |
East Texas Crude Logistics System | Crude Oil Pipeline | | | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | | | |
Minimum throughput commitment (bpd) | bbl | | | | | | | | | | | 35,000 | |
Throughput commitment tariff rate (dollars per barrel) | | | | | | | | | | | 0.50 | |
East Texas Crude Logistics System | Crude Oil Pipeline | Minimum | | | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | | | |
Term of agreement (years) | | | | | | | | | | | 5 years | |
East Texas Crude Logistics System | Crude Oil Pipeline | Maximum | | | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | | | |
Term of agreement (years) | | | | | | | | | | | 15 years | |
East Texas Crude Logistics System | Storage | | | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | | | |
Minimum monthly storage fee revenue, amount | $ | | | | | | | | | | | $ 309,892 | |
East Texas Crude Logistics System | Storage | Minimum | | | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | | | |
Term of agreement (years) | | | | | | | | | | | 5 years | |
East Texas Crude Logistics System | Storage | Maximum | | | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | | | |
Term of agreement (years) | | | | | | | | | | | 15 years | |
East Texas Marketing | | | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | | | |
Term of agreement (years) | | | | | | | | | | | 10 years | |
Minimum throughput commitment (bpd) | bbl | | | | | | | | | | | 50,000 | |
Throughput commitment tariff rate (dollars per barrel) | | | | | | | | | | | 0.82 | |
Throughput volume subject to additional fee (bpd) | bbl | | | | | | | | | | | 50,000 | |
Throughput commitment rate, additional for excess barrels (dollars per barrel) | | | | | | | | | | | 0.78 | |
Big Sandy Terminal | Refined Product Pipeline | | | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | | | |
Minimum throughput commitment (bpd) | bbl | | | | | | | | | | | 5,000 | |
Throughput commitment tariff rate (dollars per barrel) | | | | | | | | | | | 0.62 | |
Big Sandy Terminal | Refined Product Pipeline | Minimum | | | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | | | |
Term of agreement (years) | | | | | | | | | | | 5 years | |
Big Sandy Terminal | Refined Product Pipeline | Maximum | | | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | | | |
Term of agreement (years) | | | | | | | | | | | 15 years | |
Big Sandy Terminal | Storage | | | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | | | |
Minimum monthly storage fee revenue, amount | $ | | | | | | | | | | | $ 61,923 | |
Big Sandy Terminal | Storage | Minimum | | | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | | | |
Term of agreement (years) | | | | | | | | | | | 5 years | |
Big Sandy Terminal | Storage | Maximum | | | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | | | |
Term of agreement (years) | | | | | | | | | | | 15 years | |
Big Sandy Terminal | Big Sandy Terminal | | | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | | | |
Minimum throughput commitment (bpd) | bbl | | | | | | | | | | | 5,000 | |
Throughput commitment tariff rate (dollars per barrel) | | | | | | | | | | | 0.62 | |
Big Sandy Terminal | Big Sandy Terminal | Minimum | | | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | | | |
Term of agreement (years) | | | | | | | | | | | 5 years | |
Big Sandy Terminal | Big Sandy Terminal | Maximum | | | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | | | |
Term of agreement (years) | | | | | | | | | | | 15 years | |
Tyler Terminal Throughput and Tankage | | | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | | | |
Minimum throughput commitment (bpd) | bbl | | | | | | | | | | 50,000 | | |
Throughput commitment tariff rate (dollars per barrel) | | | | | | | | | | 0.38 | | |
Tyler Terminal Throughput and Tankage | Minimum | | | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | | | |
Term of agreement (years) | | | | | | | | | | 8 years | | |
Tyler Terminal Throughput and Tankage | Maximum | | | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | | | |
Term of agreement (years) | | | | | | | | | | 16 years | | |
Tyler Terminal Throughput and Tankage | Storage | | | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | | | |
Minimum monthly storage fee revenue, amount | $ | | | | | | | | | | $ 894,648 | | |
Tyler Terminal Throughput and Tankage | Storage | Minimum | | | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | | | |
Term of agreement (years) | | | | | | | | | | 8 years | | |
Tyler Terminal Throughput and Tankage | Storage | Maximum | | | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | | | |
Term of agreement (years) | | | | | | | | | | 16 years | | |
Memphis Pipeline | | | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | | | |
Term of agreement (years) | | | | | | 5 years | | | | | | |
Minimum throughput commitment (bpd) | bbl | | | | | | 11,000 | | | | | | |
Throughput commitment tariff rate (dollars per barrel) | | | | | | 1.28 | | | | | | |
El Dorado Throughput and Tankage | Refined Product Pipeline | | | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | | | |
Minimum throughput commitment (bpd) | bbl | | | | | | | | | 11,000 | | | |
Throughput commitment tariff rate (dollars per barrel) | | | | | | | | | 0.54 | | | |
El Dorado Throughput and Tankage | Refined Product Pipeline | Minimum | | | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | | | |
Term of agreement (years) | | | | | | | | | 8 years | | | |
El Dorado Throughput and Tankage | Refined Product Pipeline | Maximum | | | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | | | |
Term of agreement (years) | | | | | | | | | 16 years | | | |
El Dorado Throughput and Tankage | Storage | | | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | | | |
Minimum monthly storage fee revenue, amount | $ | | | | | | | | | $ 1,400,478 | | | |
El Dorado Throughput and Tankage | Storage | Minimum | | | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | | | |
Term of agreement (years) | | | | | | | | | 8 years | | | |
El Dorado Throughput and Tankage | Storage | Maximum | | | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | | | |
Term of agreement (years) | | | | | | | | | 16 years | | | |
El Dorado Assets | | | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | | | |
Minimum throughput fee | $ | | | | | | | | $ 1,600,000 | | | | |
El Dorado Assets | Light Crude Oil | | | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | | | |
Throughput commitment tariff rate (dollars per barrel) | | | | | | | | 1.08 | | | | |
El Dorado Assets | Light Crude Oil | Minimum | | | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | | | |
Term of agreement (years) | | | | | | | | 9 years | | | | |
El Dorado Assets | Light Crude Oil | Maximum | | | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | | | |
Term of agreement (years) | | | | | | | | 15 years | | | | |
El Dorado Assets | Heavy Crude Oil | | | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | | | |
Throughput commitment tariff rate (dollars per barrel) | | | | | | | | 2.43 | | | | |
El Dorado Assets | Heavy Crude Oil | Minimum | | | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | | | |
Term of agreement (years) | | | | | | | | 9 years | | | | |
El Dorado Assets | Heavy Crude Oil | Maximum | | | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | | | |
Term of agreement (years) | | | | | | | | 15 years | | | | |
Big Spring Pipeline, Storage And Throughput Facilities Agreement | Refined Product Pipeline | | | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | | | |
Minimum throughput commitment (bpd) | bbl | | | | | | | 104,300 | | | | | |
Throughput commitment tariff rate (dollars per barrel) | | | | | | | 0.05 | | | | | |
Big Spring Pipeline, Storage And Throughput Facilities Agreement | Refined Product Pipeline | Minimum | | | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | | | |
Term of agreement (years) | | | | | | | 10 years | | | | | |
Big Spring Pipeline, Storage And Throughput Facilities Agreement | Refined Product Pipeline | Maximum | | | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | | | |
Term of agreement (years) | | | | | | | 15 years | | | | | |
Big Spring Pipeline, Storage And Throughput Facilities Agreement | Storage | | | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | | | |
Minimum monthly storage fee revenue, amount | $ | | | | | | | $ 1,411,406 | | | | | |
Big Spring Pipeline, Storage And Throughput Facilities Agreement | Storage | Minimum | | | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | | | |
Term of agreement (years) | | | | | | | 10 years | | | | | |
Big Spring Pipeline, Storage And Throughput Facilities Agreement | Storage | Maximum | | | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | | | |
Term of agreement (years) | | | | | | | 15 years | | | | | |
Big Spring Pipeline, Storage And Throughput Facilities Agreement | Rail Offloading | | | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | | | |
Minimum throughput commitment (bpd) | bbl | | | | | | | 4,500 | | | | | |
Throughput commitment tariff rate (dollars per barrel) | | | | | | | 0.41 | | | | | |
Big Spring Pipeline, Storage And Throughput Facilities Agreement | Rail Offloading | Minimum | | | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | | | |
Term of agreement (years) | | | | | | | 10 years | | | | | |
Big Spring Pipeline, Storage And Throughput Facilities Agreement | Rail Offloading | Maximum | | | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | | | |
Term of agreement (years) | | | | | | | 15 years | | | | | |
Big Spring Pipeline, Storage And Throughput Facilities Agreement | Dedicated Terminalling Services | | | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | | | |
Minimum throughput commitment (bpd) | bbl | | | | | | | 29,250 | | | | | |
Throughput commitment tariff rate (dollars per barrel) | | | | | | | 0.68 | | | | | |
Big Spring Pipeline, Storage And Throughput Facilities Agreement | Dedicated Terminalling Services | Minimum | | | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | | | |
Term of agreement (years) | | | | | | | 10 years | | | | | |
Big Spring Pipeline, Storage And Throughput Facilities Agreement | Dedicated Terminalling Services | Maximum | | | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | | | |
Term of agreement (years) | | | | | | | 15 years | | | | | |
Big Spring Asphalt Services Agreement | Storage | | | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | | | |
Minimum monthly storage fee revenue, amount | $ | | | | | | | $ 468,703 | | | | | |
Big Spring Asphalt Services Agreement | Storage | Minimum | | | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | | | |
Term of agreement (years) | | | | | | | 10 years | | | | | |
Big Spring Asphalt Services Agreement | Storage | Maximum | | | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | | | |
Term of agreement (years) | | | | | | | 15 years | | | | | |
Big Spring Asphalt Services Agreement | Dedicated Asphalt Terminalling | | | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | | | |
Throughput commitment tariff rate (dollars per barrel) | | | | | | | 8.52 | | | | | |
Big Spring Asphalt Services Agreement | Dedicated Asphalt Terminalling | Minimum | | | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | | | |
Term of agreement (years) | | | | | | | 10 years | | | | | |
Minimum throughput commitment (bpd) | bbl | | | | | | | 1,020 | | | | | |
Big Spring Asphalt Services Agreement | Dedicated Asphalt Terminalling | Maximum | | | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | | | |
Term of agreement (years) | | | | | | | 15 years | | | | | |
Minimum throughput commitment (bpd) | bbl | | | | | | | 2,380 | | | | | |
Big Spring Marketing Agreement | Dedicated Marketing and Selling | | | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | | | |
Minimum throughput commitment (bpd) | bbl | | | | | | | 65,000 | | | | | |
Big Spring Marketing Agreement | Dedicated Marketing and Selling | Minimum | | | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | | | |
Term of agreement (years) | | | | | | | 10 years | | | | | |
Throughput commitment tariff rate (dollars per barrel) | | | | | | | 0.51 | | | | | |
Big Spring Marketing Agreement | Dedicated Marketing and Selling | Maximum | | | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | | | |
Term of agreement (years) | | | | | | | 15 years | | | | | |
Throughput commitment tariff rate (dollars per barrel) | | | | | | | 0.73 | | | | | |
Delek Permian Throughput and Deficiency Agreement | Gathering and Transportation Services | | | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | | | |
Minimum throughput commitment (bpd) | bbl | | | 120,000 | 50,000 | | | | | | | | |
Throughput commitment tariff rate (dollars per barrel) | | | 0.70 | 0.25 | | | | | | | | |
Delek Permian Throughput and Deficiency Agreement | Gathering and Transportation Services | Minimum | | | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | | | |
Term of agreement (years) | | | 10 years | 10 years | | | | | | | | |
Delek Permian Throughput and Deficiency Agreement | Gathering and Transportation Services | Maximum | | | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | | | |
Term of agreement (years) | | | 20 years | 20 years | | | | | | | | |
Big Spring Pipeline, Storage And Offloading Facilities Agreement | Refined Product Pipeline | | | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | | | |
Minimum throughput commitment (bpd) | bbl | | 20,000 | | | | | | | | | | |
Throughput commitment tariff rate (dollars per barrel) | | 0.63 | | | | | | | | | | |
Big Spring Pipeline, Storage And Offloading Facilities Agreement | Refined Product Pipeline | Minimum | | | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | | | |
Term of agreement (years) | | 2 years | | | | | | | | | | |
Big Spring Pipeline, Storage And Offloading Facilities Agreement | Storage | | | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | | | |
Minimum monthly storage fee revenue, amount | $ | | $ 240,000 | | | | | | | | | | |
Big Spring Pipeline, Storage And Offloading Facilities Agreement | Storage | Minimum | | | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | | | |
Term of agreement (years) | | 2 years | | | | | | | | | | |
Big Spring Pipeline, Storage And Offloading Facilities Agreement | Crude Oil Offloading | | | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | | | |
Minimum throughput commitment (bpd) | bbl | | | | | 15,120 | | | | | | | |
Throughput commitment tariff rate (dollars per barrel) | | | | | 0.90 | | | | | | | |
Big Spring Pipeline, Storage And Offloading Facilities Agreement | Crude Oil Offloading | Minimum | | | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | | | |
Term of agreement (years) | | | | | 2 years | | | | | | | |
Big Spring Pipeline, Storage And Offloading Facilities Agreement | Truck Unloading Facility | | | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | | | |
Minimum throughput commitment (bpd) | bbl | | | | | 4,500 | | | | | | | |
Throughput commitment tariff rate (dollars per barrel) | | | | | 5 | | | | | | | |
Big Spring Pipeline, Storage And Offloading Facilities Agreement | Truck Unloading Facility | Minimum | | | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | | | |
Term of agreement (years) | | | | | 2 years | | | | | | | |
Transportation Services Agreement | Transportation Services | | | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | | | |
Minimum Revenue Commitment | $ | $ 39,000,000 | | | | | | | | | | | |
Transportation Services Agreement | Transportation Services | Minimum | | | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | | | |
Term of agreement (years) | 10 years | | | | | | | | | | | |
Transportation Services Agreement | Transportation Services | Maximum | | | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | | | |
Term of agreement (years) | 14 years | | | | | | | | | | | |