XML 73 R50.htm IDEA: XBRL DOCUMENT
v3.22.4

Acquisitions - Narrative (Details) $ / shares in Units, bbl in Millions |  |  | 2 Months Ended | 10 Months Ended | 12 Months Ended
--- | --- | --- | --- | --- | ---
Mar. 14, 2022 USD ($) jointVenturePipeline refinery location nomination brandedStation terminal mi $ / shares shares bbl | Nov. 01, 2021 USD ($) | Dec. 31, 2021 USD ($) $ / shares | Dec. 31, 2022 USD ($) $ / shares | Dec. 31, 2022 USD ($) brandedStation location $ / shares | Dec. 31, 2021 USD ($) $ / shares
Business Acquisition [Line Items] |  |  |  |  |  |
Common stock par value (in USD per share) | $ / shares | $ 0.01 |  | $ 0.01 | $ 0.01 | $ 0.01 | $ 0.01
Number of branded stations | brandedStation |  |  |  |  | 1,500 |
Number of locations licensed to use brand | location |  |  |  |  | 300 |
Goodwill |  |  | $ 2,293,044,000 | $ 2,978,315,000 | $ 2,978,315,000 | $ 2,293,044,000
HEP |  |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |  |
Goodwill |  |  | 312,873,000 | $ 431,985,000 | $ 431,985,000 | 312,873,000
HEP | Saddle Butte Pipeline III, LLC |  |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |  |
Equity method investment, ownership percentage | 25.06% |  |  | 25.06% | 25.06% |
HEP | Pioneer Pipeline |  |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |  |
Equity method investment, ownership percentage | 49.995% |  |  | 49.995% | 49.995% |
HEP | UNEV Pipeline |  |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |  |
Remaining ownership interest acquired | 0.250 |  |  |  |  |
REH Company |  |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |  |
Number of nominations to the Board of Directors | nomination | 2 |  |  |  |  |
REH Company | RINs credit obligations |  |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |  |
Market price of RINs credit obligations | $ 68,400,000 |  |  |  |  |
Sinclair Merger |  |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |  |
Value of shares issued in transaction | 2,498,028,000 |  |  |  |  |
Transaction cash consideration transferred | 251,448,000 |  |  |  |  |
Aggregate consideration paid in transaction | $ 2,749,476,000 |  |  |  |  |
Shares held in escrow (in shares) | shares | 2,570,000 |  |  |  |  |
Number of branded stations | brandedStation | 1,300 |  |  |  |  |
Number of locations licensed to use brand | location | 300 |  |  |  |  |
Goodwill | $ 685,934,000 |  |  |  |  |
Intangible assets acquired | 221,400,000 |  |  |  |  |
Fair value of equity method investments acquired | 234,300,000 |  |  |  |  |
Accrued liabilities | 84,298,000 |  |  |  |  |
Revenue from acquiree |  |  |  | $ 9,835,000,000 |  |
Income from operations from acquiree |  |  |  | $ 865,100,000 |  |
Incremental acquisition and integration costs |  |  |  |  | $ 52,900,000 |
Properties, plants and equipment | 1,242,549,000 |  |  |  |  |
Other long-term liabilities | 88,098,000 |  |  |  |  |
Sinclair Merger | Crude Oil and Refined Products |  |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |  |
Inventories | 906,461,000 |  |  |  |  |
Sinclair Merger | RINs credit obligations |  |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |  |
Accrued liabilities | $ 70,600,000 |  |  |  |  |
Sinclair Merger | Minimum |  |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |  |
Amortization period of intangible assets acquired | 4 years |  |  |  |  |
Sinclair Merger | Maximum |  |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |  |
Amortization period of intangible assets acquired | 20 years |  |  |  |  |
Sinclair Merger | Rocky Mountain based |  |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |  |
Number of refineries | refinery | 2 |  |  |  |  |
Sinclair Merger | HEP |  |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |  |
Shares issued in transaction (in shares) | shares | 21,000,000 |  |  |  |  |
Value of shares issued in transaction | $ 349,020,000 |  |  |  |  |
Transaction cash consideration transferred | 328,955,000 |  |  |  |  |
Aggregate consideration paid in transaction | $ 678,000,000 |  |  |  |  |
Shares held in escrow (in shares) | shares | 5,290,000 |  |  |  |  |
Size of pipeline | mi | 1,200 |  |  |  |  |
Number of product terminals | terminal | 8 |  |  |  |  |
Number of crude terminals | terminal | 2 |  |  |  |  |
Barrels of crude oil, value | bbl | 4.5 |  |  |  |  |
Number of pipeline join ventures | jointVenturePipeline | 3 |  |  |  |  |
Goodwill | $ 119,100,000 |  |  |  |  |
Sinclair Merger | REH Company |  |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |  |
Shares issued in transaction (in shares) | shares | 60,230,036 |  |  |  |  |
Percentage of pro forma equity representing shares issued in transaction | 0.27 |  |  |  |  |
Value of shares issued in transaction | $ 2,149,000,000 |  |  |  |  |
Shares held in escrow (in shares) | shares | 2,570,000 |  |  |  |  |
Sinclair Merger | REH Company | HEP |  |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |  |
Shares issued in transaction (in shares) | shares | 21,000,000 |  |  |  |  |
Transaction cash consideration transferred | $ 329,000,000 |  |  |  |  |
Shares held in escrow (in shares) | shares | 5,290,000 |  |  |  |  |
Sinclair Merger | HF Sinclair | REH Company |  |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |  |
Transaction cash consideration transferred | $ 77,500,000 |  |  |  |  |
Aggregate consideration paid in transaction | $ 2,072,000,000 |  |  |  |  |
Puget Sound Refinery |  |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |  |
Aggregate consideration paid in transaction |  | $ 624,300,000 |  |  |  |
Revenue from acquiree |  |  | 603,100,000 |  |  |
Income from operations from acquiree |  |  | $ (8,300,000) |  |  |
Incremental acquisition and integration costs |  |  |  |  |  | $ 12,200,000
Base cash purchase price in acquisition |  | 350,000,000 |  |  |  |
Inventories |  | 299,300,000 |  |  |  |
Other closing adjustments and accrued liabilities associated with acquisition |  | 3,600,000 |  |  |  |
Properties, plants and equipment |  | 394,200,000 |  |  |  |
Other assets |  | 10,400,000 |  |  |  |
Accrued and other current liabilities |  | 12,500,000 |  |  |  |
Other long-term liabilities |  | 67,100,000 |  |  |  |
Puget Sound Refinery | Crude Oil and Refined Products |  |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |  |
Inventories |  | $ 277,900,000 |  |  |  |

X
- Definition Business Acquisition, Equity Interest Issued Or Issuable, Number Of Shares Placed In Escrow + References No definition available. + Details
Name: | dino_BusinessAcquisitionEquityInterestIssuedOrIssuableNumberOfSharesPlacedInEscrow
Namespace Prefix: | dino_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Business Combination, Base Purchase Price + References No definition available. + Details
Name: | dino_BusinessCombinationBasePurchasePrice
Namespace Prefix: | dino_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Business Combination, Consideration Transferred, Equity Interests Issued And Issuable, Percentage Of Pro Forma Stockholder's Equity + References No definition available. + Details
Name: | dino_BusinessCombinationConsiderationTransferredEquityInterestsIssuedAndIssuablePercentageOfProFormaStockholdersEquity
Namespace Prefix: | dino_
Data Type: | xbrli:pureItemType
Balance Type: | na
Period Type: | instant

X
- Definition Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Current Liabilities, Accrued Liabilities + References No definition available. + Details
Name: | dino_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAccruedLiabilities
Namespace Prefix: | dino_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Asset Acquisition, Consideration Transferred, Closing Adjustments And Accrued Liabilities + References No definition available. + Details
Name: | dino_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedClosingAdjustmentsAndAccruedLiabilities
Namespace Prefix: | dino_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Business Combination, Recognized Identifiable Assets Acquired And Liabilities Assumed, Current Liabilities, Accrued Liabilities And Other + References No definition available. + Details
Name: | dino_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccruedLiabilitiesAndOther
Namespace Prefix: | dino_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Business Combination, Recognized Identifiable Assets Acquired And Liabilities Assumed, Investment In Affiliates + References No definition available. + Details
Name: | dino_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedInvestmentInAffiliates
Namespace Prefix: | dino_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Equity Method Investment, Remaining Ownership Percentage Acquired + References No definition available. + Details
Name: | dino_EquityMethodInvestmentRemainingOwnershipPercentageAcquired
Namespace Prefix: | dino_
Data Type: | xbrli:pureItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number Of Director Nominations To Board Of Directors + References No definition available. + Details
Name: | dino_NumberOfDirectorNominationsToBoardOfDirectors
Namespace Prefix: | dino_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number Of Equity Method Investments Acquired + References No definition available. + Details
Name: | dino_NumberOfEquityMethodInvestmentsAcquired
Namespace Prefix: | dino_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number Of Locations Entity Licensed To Utilize Brand + References No definition available. + Details
Name: | dino_NumberOfLocationsEntityLicensedToUtilizeBrand
Namespace Prefix: | dino_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number Of Locations Entity Supplies Product + References No definition available. + Details
Name: | dino_NumberOfLocationsEntitySuppliesProduct
Namespace Prefix: | dino_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number Of Refineries + References No definition available. + Details
Name: | dino_NumberOfRefineries
Namespace Prefix: | dino_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number Of Terminals, Crude + References No definition available. + Details
Name: | dino_NumberOfTerminalsCrude
Namespace Prefix: | dino_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number Of Product Terminals + References No definition available. + Details
Name: | dino_NumberOfTerminalsProduct
Namespace Prefix: | dino_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Pipeline Size + References No definition available. + Details
Name: | dino_PipelineSize
Namespace Prefix: | dino_
Data Type: | dtr-types:lengthItemType
Balance Type: | na
Period Type: | duration

X
- Definition Terminal Storage + References No definition available. + Details
Name: | dino_TerminalStorage
Namespace Prefix: | dino_
Data Type: | dtr-types:volumeItemType
Balance Type: | na
Period Type: | duration

X
- Definition Weighted average amortization period of finite-lived intangible assets acquired either individually or as part of a group of assets, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 30 -Section 50 -Paragraph 1 -Subparagraph (a)(3) -URI https://asc.fasb.org/extlink&oid=66006027&loc=d3e16265-109275 + Details
Name: | us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Value of equity interests (such as common shares, preferred shares, or partnership interest) issued or issuable to acquire the entity. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 50 -Paragraph 1 -Subparagraph (b)(4) -URI https://asc.fasb.org/extlink&oid=126975305&loc=d3e6927-128479 + Details
Name: | us-gaap_BusinessAcquisitionEquityInterestIssuedOrIssuableValueAssigned
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Number of shares of equity interests issued or issuable to acquire entity. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 50 -Paragraph 1 -Subparagraph (b)(4) -URI https://asc.fasb.org/extlink&oid=126975305&loc=d3e6927-128479 + Details
Name: | us-gaap_BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
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_BusinessAcquisitionLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition This element represents acquisition-related costs incurred to effect a business combination which costs have been expensed during the period. Such costs include finder's fees; advisory, legal, accounting, valuation, and other professional or consulting fees; general administrative costs, including the costs of maintaining an internal acquisitions department; and may include costs of registering and issuing debt and equity securities. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 10 -Section 25 -Paragraph 23 -URI https://asc.fasb.org/extlink&oid=123586518&loc=d3e1043-128460 + Details
Name: | us-gaap_BusinessCombinationAcquisitionRelatedCosts
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of consideration transferred, consisting of acquisition-date fair value of assets transferred by the acquirer, liabilities incurred by the acquirer, and equity interest issued by the acquirer. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 30 -Paragraph 8 -URI https://asc.fasb.org/extlink&oid=126966197&loc=d3e6613-128477 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 50 -Paragraph 1 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126975305&loc=d3e6927-128479 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 30 -Paragraph 7 -URI https://asc.fasb.org/extlink&oid=126966197&loc=d3e6578-128477 + Details
Name: | us-gaap_BusinessCombinationConsiderationTransferred1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition This element represents the amount of earnings or loss of the acquiree since the acquisition date included in the consolidated income statement for the reporting period. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (h)(1) -URI https://asc.fasb.org/extlink&oid=79982066&loc=d3e1392-128463 + Details
Name: | us-gaap_BusinessCombinationProFormaInformationEarningsOrLossOfAcquireeSinceAcquisitionDateActual
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition This element represents the amount of revenue of the acquiree since the acquisition date included in the consolidated income statement for the reporting period. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (h)(1) -URI https://asc.fasb.org/extlink&oid=79982066&loc=d3e1392-128463 + Details
Name: | us-gaap_BusinessCombinationProFormaInformationRevenueOfAcquireeSinceAcquisitionDateActual
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of intangible assets, excluding goodwill, acquired at the acquisition date. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (c) -URI https://asc.fasb.org/extlink&oid=128092470&loc=d3e4845-128472 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount of inventory recognized as of the acquisition date. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (c) -URI https://asc.fasb.org/extlink&oid=128092470&loc=d3e4845-128472 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 10 -Section 55 -Paragraph 37 -URI https://asc.fasb.org/extlink&oid=123455525&loc=d3e2207-128464 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedInventory
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of other liabilities due after one year or the normal operating cycle, if longer, assumed at the acquisition date. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (c) -URI https://asc.fasb.org/extlink&oid=128092470&loc=d3e4845-128472 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesOther
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of other assets expected to be realized or consumed after one year or the normal operating cycle, if longer, acquired at the acquisition date. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (c) -URI https://asc.fasb.org/extlink&oid=128092470&loc=d3e4845-128472 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount of property, plant, and equipment recognized as of the acquisition date. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 10 -Section 55 -Paragraph 37 -URI https://asc.fasb.org/extlink&oid=123455525&loc=d3e2207-128464 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (c) -URI https://asc.fasb.org/extlink&oid=128092470&loc=d3e4845-128472 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Face amount or stated value per share of common stock. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_CommonStockParOrStatedValuePerShare
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition The percentage of ownership of common stock or equity participation in the investee accounted for under the equity method of accounting. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 323 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (a)(1) -URI https://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571 + Details
Name: | us-gaap_EquityMethodInvestmentOwnershipPercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Fair value of financial obligations, including, but not limited to, debt instruments, derivative liabilities, federal funds purchased and sold under agreements to repurchase, securities loaned or sold under agreements to repurchase, financial instruments sold not yet purchased, guarantees, line of credit, loans and notes payable, servicing liability, and trading liabilities. + References No definition available. + Details
Name: | us-gaap_FinancialLiabilitiesFairValueDisclosure
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount after accumulated impairment loss of an asset representing future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(10)(1)) -URI https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (h) -URI https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267 Reference 4: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 55 -Paragraph 24 -URI https://asc.fasb.org/extlink&oid=122137925&loc=d3e14258-109268 Reference 5: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 852 -SubTopic 10 -Section 55 -Paragraph 10 -URI https://asc.fasb.org/extlink&oid=84165509&loc=d3e56426-112766 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 45 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=99380562&loc=d3e13770-109266 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(15)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_Goodwill
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The cash outflow associated with the acquisition of business during the period. The cash portion only of the acquisition price. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 50 -Paragraph 1 -Subparagraph (b)(1) -URI https://asc.fasb.org/extlink&oid=126975305&loc=d3e6927-128479 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 13 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126954810&loc=d3e3213-108585 + Details
Name: | us-gaap_PaymentsToAcquireBusinessesGross
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | srt_ConsolidatedEntitiesAxis=us-gaap_VariableInterestEntityPrimaryBeneficiaryMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

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

X
- Details
Name: | dei_LegalEntityAxis=dino_TheSinclairCompaniesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_RenewableEnergyProgramMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=dino_SinclairMergerMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PublicUtilitiesInventoryAxis=dino_CrudeOilAndRefinedProductsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementGeographicalAxis=dino_CasperAndSinclairWyomingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_CounterpartyNameAxis=dino_TheSinclairCompaniesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_CounterpartyNameAxis=dino_HFSinclairMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=dino_PugetSoundRefineryMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |