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, 2021 |
Related Party Transaction [Line Items] | | | | | | | | | | | | |
Extension notice period | | | | | | | | | | | | 6 months |
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.82 | |
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.49 | |
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 | $ | | | | | | | | | | | $ 308,091 | |
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.84 | |
Throughput volume subject to additional fee (bpd) | bbl | | | | | | | | | | | 50,000 | |
Throughput commitment rate, additional for excess barrels (dollars per barrel) | | | | | | | | | | | 0.78 | |
Term Of Agreement, Renewal Term | | | | | | | | | | | 1 year | |
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.61 | |
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,563 | |
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.61 | |
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.39 | | |
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 | $ | | | | | | | | | | $ 934,013 | | |
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.27 | | | | | | |
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.56 | | | |
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,462,099 | | | |
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.13 | | | | |
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.53 | | | | |
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,473,508 | | | | | |
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.43 | | | | | |
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.71 | | | | | |
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 | $ | | | | | | | $ 489,326 | | | | | |
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.90 | | | | | |
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.54 | | | | | |
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.76 | | | | | |
Delek Permian Throughput and Deficiency Agreement | Gathering and Transportation Services | | | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | | | |
Minimum throughput commitment (bpd) | bbl | | | 123,100 | 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 | Refined Product Pipeline | Maximum | | | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | | | |
Term of agreement (years) | | 10 years | | | | | | | | | | |
Big Spring Pipeline, Storage And Offloading Facilities Agreement | Storage | | | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | | | |
Minimum monthly storage fee revenue, amount | $ | | $ 250,560 | | | | | | | | | | |
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 | Storage | Maximum | | | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | | | |
Term of agreement (years) | | 10 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.94 | | | | | | | |
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 | Crude Oil Offloading | Maximum | | | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | | | |
Term of agreement (years) | | | | | 10 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.22 | | | | | | | |
Big Spring Pipeline, Storage And Offloading Facilities Agreement | Truck Unloading Facility | Minimum | | | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | | | |
Term of agreement (years) | | | | | 2 years | | | | | | | |
Big Spring Pipeline, Storage And Offloading Facilities Agreement | Truck Unloading Facility | Maximum | | | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | | | |
Term of agreement (years) | | | | | 10 years | | | | | | | |
Transportation Services Agreement | Transportation Services | | | | | | | | | | | | |
Related Party Transaction [Line Items] | | | | | | | | | | | | |
Minimum Annual 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 | | | | | | | | | | | |