XML 129 R106.htm IDEA: XBRL DOCUMENT
v3.22.4

Segment Information - Schedule Of Segment Reporting Information (Details) - USD ($) | 3 Months Ended | 12 Months Ended
--- | --- | ---
Dec. 31, 2020 | Dec. 31, 2022 | Dec. 31, 2021 | Dec. 31, 2020
Segment Reporting Information [Line Items] |  |  |  |
Sales and other revenues |  | $ 38,204,839,000 | $ 18,389,142,000 | $ 11,183,643,000
Cost of products sold (exclusive of lower of cost or market inventory valuation adjustment) |  | 30,680,013,000 | 15,567,052,000 | 9,158,805,000
Lower of cost or market inventory valuation adjustment |  | 52,412,000 | (310,123,000) | 78,499,000
Operating expenses |  | 2,334,893,000 | 1,517,478,000 | 1,300,277,000
Selling, general and administrative expenses |  | 426,485,000 | 362,010,000 | 313,600,000
Depreciation and amortization |  | 656,787,000 | 503,539,000 | 520,912,000
Goodwill impairment charges |  | 0 | 0 | 545,293,000
Income (loss) from operations |  | 4,054,249,000 | 749,186,000 | (733,743,000)
Earnings of equity method investments |  | (260,000) | 12,432,000 | 6,647,000
Capital expenditures |  | 524,007,000 | 813,409,000 | 330,160,000
Corporate, Other and Eliminations |  |  |  |
Segment Reporting Information [Line Items] |  |  |  |
Sales and other revenues |  | (4,841,571,000) | (1,024,523,000) | (656,604,000)
Intersegment Eliminations |  |  |  |
Segment Reporting Information [Line Items] |  |  |  |
Sales and other revenues |  | (4,841,571,000) | (1,024,525,000) | (662,805,000)
Corporate, Non-Segment |  |  |  |
Segment Reporting Information [Line Items] |  |  |  |
Sales and other revenues |  | 0 | 2,000 | 6,201,000
Cost of products sold (exclusive of lower of cost or market inventory valuation adjustment) |  | (4,743,130,000) | (921,812,000) | (552,162,000)
Lower of cost or market inventory valuation adjustment |  | 0 | (509,000) | (3,715,000)
Operating expenses |  | (81,157,000) | (51,279,000) | (55,389,000)
Selling, general and administrative expenses |  | 87,892,000 | 51,655,000 | 18,497,000
Depreciation and amortization |  | 1,152,000 | 737,000 | 20,194,000
Goodwill impairment charges |  |  |  | 0
Income (loss) from operations |  | (106,328,000) | (103,315,000) | (84,029,000)
Earnings of equity method investments |  | 0 | 0 | 0
Capital expenditures |  | 53,327,000 | 22,928,000 | 20,531,000
Refining |  |  |  |
Segment Reporting Information [Line Items] |  |  |  |
Sales and other revenues |  | 30,379,696,000 | 15,734,870,000 | 9,286,658,000
Refining | Operating Segments |  |  |  |
Segment Reporting Information [Line Items] |  |  |  |
Sales and other revenues |  | 34,412,909,000 | 16,358,558,000 | 9,539,189,000
Cost of products sold (exclusive of lower of cost or market inventory valuation adjustment) |  | 28,270,195,000 | 14,673,062,000 | 8,439,680,000
Lower of cost or market inventory valuation adjustment |  | 0 | (318,353,000) | 82,214,000
Operating expenses |  | 1,815,931,000 | 1,090,424,000 | 988,045,000
Selling, general and administrative expenses |  | 146,660,000 | 127,563,000 | 127,298,000
Depreciation and amortization |  | 405,065,000 | 334,365,000 | 324,617,000
Goodwill impairment charges |  |  |  | 241,760,000
Income (loss) from operations |  | 3,775,058,000 | 451,497,000 | (664,425,000)
Earnings of equity method investments |  | 0 | 0 | 0
Capital expenditures |  | 162,280,000 | 160,431,000 | 152,726,000
Refining | Intersegment Eliminations |  |  |  |
Segment Reporting Information [Line Items] |  |  |  |
Sales and other revenues |  | 4,033,213,000 | 623,688,000 | 252,531,000
Renewables |  |  |  |
Segment Reporting Information [Line Items] |  |  |  |
Sales and other revenues |  | 654,893,000 | 0 | 0
Renewables | Operating Segments |  |  |  |
Segment Reporting Information [Line Items] |  |  |  |
Sales and other revenues |  | 1,015,499,000 | 0 | 0
Cost of products sold (exclusive of lower of cost or market inventory valuation adjustment) |  | 974,167,000 | 0 | 0
Lower of cost or market inventory valuation adjustment |  | 52,412,000 | 8,739,000 | 0
Operating expenses |  | 111,974,000 | 55,353,000 | 3,861,000
Selling, general and administrative expenses |  | 3,769,000 | 0 | 0
Depreciation and amortization |  | 52,621,000 | 1,672,000 | 0
Goodwill impairment charges |  |  |  | 0
Income (loss) from operations |  | (179,444,000) | (65,764,000) | (3,861,000)
Earnings of equity method investments |  | 0 | 0 | 0
Capital expenditures |  | 225,274,000 | 510,836,000 | 65,147,000
Renewables | Intersegment Eliminations |  |  |  |
Segment Reporting Information [Line Items] |  |  |  |
Sales and other revenues |  | 360,606,000 | 0 | 0
Marketing |  |  |  |
Segment Reporting Information [Line Items] |  |  |  |
Sales and other revenues |  | 3,911,922,000 |  |
Marketing | Operating Segments |  |  |  |
Segment Reporting Information [Line Items] |  |  |  |
Sales and other revenues |  | 3,911,922,000 |  |
Cost of products sold (exclusive of lower of cost or market inventory valuation adjustment) |  | 3,845,625,000 |  |
Lower of cost or market inventory valuation adjustment |  | 0 |  |
Operating expenses |  | 0 |  |
Selling, general and administrative expenses |  | 2,954,000 |  |
Depreciation and amortization |  | 17,819,000 |  |
Income (loss) from operations |  | 45,524,000 |  |
Earnings of equity method investments |  | 0 |  |
Capital expenditures |  | 9,275,000 |  |
Marketing | Intersegment Eliminations |  |  |  |
Segment Reporting Information [Line Items] |  |  |  |
Sales and other revenues |  | 0 |  |
Lubricants and Specialty Products |  |  |  |
Segment Reporting Information [Line Items] |  |  |  |
Sales and other revenues |  | 3,149,128,000 | 2,550,624,000 | 1,792,745,000
Goodwill impairment charges | $ 81,900,000 |  |  |
Lubricants and Specialty Products | Operating Segments |  |  |  |
Segment Reporting Information [Line Items] |  |  |  |
Sales and other revenues |  | 3,158,600,000 | 2,560,612,000 | 1,803,210,000
Cost of products sold (exclusive of lower of cost or market inventory valuation adjustment) |  | 2,333,156,000 | 1,815,802,000 | 1,271,287,000
Lower of cost or market inventory valuation adjustment |  | 0 | 0 | 0
Operating expenses |  | 277,522,000 | 252,456,000 | 216,068,000
Selling, general and administrative expenses |  | 168,207,000 | 170,155,000 | 157,816,000
Depreciation and amortization |  | 83,447,000 | 79,767,000 | 80,656,000
Goodwill impairment charges |  |  |  | 286,575,000
Income (loss) from operations |  | 296,268,000 | 242,432,000 | (209,192,000)
Earnings of equity method investments |  | 0 | 0 | 0
Capital expenditures |  | 34,887,000 | 30,878,000 | 32,473,000
Lubricants and Specialty Products | Intersegment Eliminations |  |  |  |
Segment Reporting Information [Line Items] |  |  |  |
Sales and other revenues |  | 9,472,000 | 9,988,000 | 10,465,000
HEP |  |  |  |
Segment Reporting Information [Line Items] |  |  |  |
Sales and other revenues |  | 109,200,000 | 103,646,000 | 98,039,000
HEP | Operating Segments |  |  |  |
Segment Reporting Information [Line Items] |  |  |  |
Sales and other revenues |  | 547,480,000 | 494,495,000 | 497,848,000
Cost of products sold (exclusive of lower of cost or market inventory valuation adjustment) |  | 0 | 0 | 0
Lower of cost or market inventory valuation adjustment |  | 0 | 0 | 0
Operating expenses |  | 210,623,000 | 170,524,000 | 147,692,000
Selling, general and administrative expenses |  | 17,003,000 | 12,637,000 | 9,989,000
Depreciation and amortization |  | 96,683,000 | 86,998,000 | 95,445,000
Goodwill impairment charges |  |  |  | 16,958,000
Income (loss) from operations |  | 223,171,000 | 224,336,000 | 227,764,000
Earnings of equity method investments |  | (260,000) | 12,432,000 | 6,647,000
Capital expenditures |  | 38,964,000 | 88,336,000 | 59,283,000
HEP | Intersegment Eliminations |  |  |  |
Segment Reporting Information [Line Items] |  |  |  |
Sales and other revenues |  | $ 438,280,000 | $ 390,849,000 | 399,809,000
Corporate and Other | Cheyenne Pipeline, LLC |  |  |  |
Segment Reporting Information [Line Items] |  |  |  |
Operating expenses |  |  |  | 11,400,000
Decommissioning and other shutdown costs |  |  |  | $ 14,000,000

X
- Definition Amount of expenses associated with exit or disposal activities pursuant to an authorized plan. Includes, but is not limited to, one-time termination benefits, termination of an operating lease or other contract, consolidating or closing facilities, and relocating employees, and termination benefits associated with an ongoing benefit arrangement. Excludes expenses associated with special or contractual termination benefits, a discontinued operation or an asset retirement obligation. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585 + Details
Name: | us-gaap_BusinessExitCosts1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The aggregate costs related to goods produced and sold and services rendered by an entity during the reporting period. This excludes costs incurred during the reporting period related to financial services rendered and other revenue generating activities. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 924 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SAB Topic 11.L) -URI https://asc.fasb.org/extlink&oid=6472922&loc=d3e499488-122856 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.2(a),(d)) -URI https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227 + Details
Name: | us-gaap_CostOfGoodsAndServicesSold
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The aggregate expense recognized in the current period that allocates the cost of tangible assets, intangible assets, or depleting assets to periods that benefit from use of the assets. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 22 -Subparagraph (e) -URI https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585 + Details
Name: | us-gaap_DepreciationDepletionAndAmortization
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Total loss recognized during the period from the impairment of goodwill plus the loss recognized in the period resulting from the impairment of the carrying amount of intangible assets, other than goodwill. + References No definition available. + Details
Name: | us-gaap_GoodwillAndIntangibleAssetImpairment
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of income (loss) for proportionate share of equity method investee's income (loss). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03(12)) -URI https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 220 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-04(10)) -URI https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 220 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-04(13)(f)) -URI https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 22 -Subparagraph (g) -URI https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599 Reference 6: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 323 -SubTopic 10 -Section 45 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=109237563&loc=d3e33749-111570 + Details
Name: | us-gaap_IncomeLossFromEquityMethodInvestments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of loss from reductions in inventory due to subsequent measurement adjustments, including, but not limited to, physical deterioration, obsolescence, or changes in price levels. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 330 -SubTopic 10 -Section 50 -Paragraph 2 -URI https://asc.fasb.org/extlink&oid=116847112&loc=d3e4542-108314 + Details
Name: | us-gaap_InventoryWriteDown
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Generally recurring costs associated with normal operations except for the portion of these expenses which can be clearly related to production and included in cost of sales or services. Includes selling, general and administrative expense. + References No definition available. + Details
Name: | us-gaap_OperatingExpenses
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The net result for the period of deducting operating expenses from operating revenues. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 31 -URI https://asc.fasb.org/extlink&oid=126901519&loc=d3e8924-108599 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 30 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126901519&loc=d3e8906-108599 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 32 -Subparagraph (c) -URI https://asc.fasb.org/extlink&oid=126901519&loc=d3e8933-108599 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 32 -Subparagraph (f) -URI https://asc.fasb.org/extlink&oid=126901519&loc=d3e8933-108599 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 22 -URI https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599 + Details
Name: | us-gaap_OperatingIncomeLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of acquisition of long-lived, physical assets used in the normal conduct of business and not intended for resale. Examples include, but are not limited to, land, buildings, machinery and equipment, office equipment, furniture and fixtures, and computer equipment. + References No definition available. + Details
Name: | us-gaap_PropertyPlantAndEquipmentAdditions
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount, excluding tax collected from customer, of revenue from satisfaction of performance obligation by transferring promised good or service to customer. Tax collected from customer is tax assessed by governmental authority that is both imposed on and concurrent with specific revenue-producing transaction, including, but not limited to, sales, use, value added and excise. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 30 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126901519&loc=d3e8906-108599 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 40 -URI https://asc.fasb.org/extlink&oid=126901519&loc=d3e9031-108599 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 41 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126901519&loc=d3e9038-108599 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 32 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126901519&loc=d3e8933-108599 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 32 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126901519&loc=d3e8933-108599 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 606 -SubTopic 10 -Section 50 -Paragraph 4 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126920106&loc=SL49130543-203045 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 22 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599 Reference 8: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 22 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599 Reference 9: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 42 -URI https://asc.fasb.org/extlink&oid=126901519&loc=d3e9054-108599 Reference 10: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 606 -SubTopic 10 -Section 50 -Paragraph 5 -URI https://asc.fasb.org/extlink&oid=126920106&loc=SL49130545-203045 Reference 11: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 924 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SAB Topic 11.L) -URI https://asc.fasb.org/extlink&oid=6472922&loc=d3e499488-122856 + Details
Name: | us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_SegmentReportingInformationLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The aggregate total costs related to selling a firm's product and services, as well as all other general and administrative expenses. Direct selling expenses (for example, credit, warranty, and advertising) are expenses that can be directly linked to the sale of specific products. Indirect selling expenses are expenses that cannot be directly linked to the sale of specific products, for example telephone expenses, Internet, and postal charges. General and administrative expenses include salaries of non-sales personnel, rent, utilities, communication, etc. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.4) -URI https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227 + Details
Name: | us-gaap_SellingGeneralAndAdministrativeExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | srt_ConsolidationItemsAxis=dino_CorporateAndEliminationsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ConsolidationItemsAxis=us-gaap_IntersegmentEliminationMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ConsolidationItemsAxis=us-gaap_CorporateNonSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementBusinessSegmentsAxis=dino_RefiningSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ConsolidationItemsAxis=us-gaap_OperatingSegmentsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementBusinessSegmentsAxis=dino_RenewablesSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementBusinessSegmentsAxis=dino_MarketingSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementBusinessSegmentsAxis=dino_LubricantsAndSpecialtyProductsSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementBusinessSegmentsAxis=dino_HEPSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementBusinessSegmentsAxis=us-gaap_CorporateAndOtherMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis=dino_CheyennePipelineLLCMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |