XML 71 R48.htm IDEA: XBRL DOCUMENT
v3.22.4

Description of Business and Summary of Significant Accounting Policies - Narrative (Details) $ in Millions, $ in Millions |  |  | 3 Months Ended | 12 Months Ended |
--- | --- | --- | --- | --- | ---
Mar. 14, 2022 brandedStation location shares | Apr. 27, 2021 USD ($) | Apr. 27, 2021 CAD ($) | Jun. 30, 2020 USD ($) | Dec. 31, 2022 USD ($) brandedStation location | Dec. 31, 2021 USD ($) | Dec. 31, 2020 USD ($) | Nov. 01, 2021 USD ($)
Ownership Interest By Project Type [Line Items] |  |  |  |  |  |  |  |
Number of branded stations | brandedStation |  |  |  |  | 1,500 |  |  |
Number of locations licensed to use brand | location |  |  |  |  | 300 |  |  |
Severance costs |  |  |  | $ 3.7 |  |  |  |
Impairment, Long-Lived Asset, Held-for-Use, Statement of Income or Comprehensive Income [Extensible Enumeration] |  |  |  | Goodwill impairment charges |  |  |  |
Allowance for doubtful accounts |  |  |  |  | $ 7.7 | $ 3.7 |  |
Asset retirement obligation |  |  |  |  | 61.8 | 52.5 |  |
Deferred turnaround and amortization expense |  |  |  |  | 159.3 | 136.9 | $ 158.4 |
Proceeds from inventory repurchase agreements |  |  |  |  | 42.1 | 43.5 | 44.9 |
Payments under inventory repurchase agreements |  |  |  |  | $ 42.8 | 45.4 | 46.4 |
Minimum |  |  |  |  |  |  |  |
Ownership Interest By Project Type [Line Items] |  |  |  |  |  |  |  |
Frequency of maintenance |  |  |  |  | 2 years |  |  |
Maximum |  |  |  |  |  |  |  |
Ownership Interest By Project Type [Line Items] |  |  |  |  |  |  |  |
Frequency of maintenance |  |  |  |  | 5 years |  |  |
Inventories |  |  |  |  |  |  |  |
Ownership Interest By Project Type [Line Items] |  |  |  |  |  |  |  |
Reserve against repair and maintenance inventory |  |  |  |  |  |  | 9.0 |
Cheyenne Refinery |  |  |  |  |  |  |  |
Ownership Interest By Project Type [Line Items] |  |  |  |  |  |  |  |
Severance costs |  |  |  |  |  | 1.0 | 3.8 |
Decommissioning expense |  |  |  |  | $ 1.7 | 25.8 | 24.7 |
Impairment of long-lived assets |  |  |  | $ 232.2 |  |  |  |
Refining, pipeline and terminal facilities | Minimum |  |  |  |  |  |  |  |
Ownership Interest By Project Type [Line Items] |  |  |  |  |  |  |  |
Estimated useful life of assets |  |  |  |  | 15 years |  |  |
Refining, pipeline and terminal facilities | Maximum |  |  |  |  |  |  |  |
Ownership Interest By Project Type [Line Items] |  |  |  |  |  |  |  |
Estimated useful life of assets |  |  |  |  | 32 years |  |  |
Buildings and improvements | Minimum |  |  |  |  |  |  |  |
Ownership Interest By Project Type [Line Items] |  |  |  |  |  |  |  |
Estimated useful life of assets |  |  |  |  | 10 years |  |  |
Buildings and improvements | Maximum |  |  |  |  |  |  |  |
Ownership Interest By Project Type [Line Items] |  |  |  |  |  |  |  |
Estimated useful life of assets |  |  |  |  | 40 years |  |  |
Other fixed assets | Minimum |  |  |  |  |  |  |  |
Ownership Interest By Project Type [Line Items] |  |  |  |  |  |  |  |
Estimated useful life of assets |  |  |  |  | 5 years |  |  |
Other fixed assets | Maximum |  |  |  |  |  |  |  |
Ownership Interest By Project Type [Line Items] |  |  |  |  |  |  |  |
Estimated useful life of assets |  |  |  |  | 30 years |  |  |
Vehicles |  |  |  |  |  |  |  |
Ownership Interest By Project Type [Line Items] |  |  |  |  |  |  |  |
Estimated useful life of assets |  |  |  |  | 5 years |  |  |
Lubricants and Specialty Products |  |  |  |  |  |  |  |
Ownership Interest By Project Type [Line Items] |  |  |  |  |  |  |  |
Severance costs |  |  |  |  |  | 7.8 |  |
Refining |  |  |  |  |  |  |  |
Ownership Interest By Project Type [Line Items] |  |  |  |  |  |  |  |
Restructuring and related costs recorded to segments |  |  |  |  |  |  | 24.8 |
Corporate Segment |  |  |  |  |  |  |  |
Ownership Interest By Project Type [Line Items] |  |  |  |  |  |  |  |
Restructuring and related costs recorded to segments |  |  |  |  |  |  | $ 12.7 |
Mississauga, Canada Property | Disposal Group, Disposed of by Sale, Not Discontinued Operations |  |  |  |  |  |  |  |
Ownership Interest By Project Type [Line Items] |  |  |  |  |  |  |  |
Gain on sale of assets |  |  |  |  |  | $ 86.0 |  |
Mississauga, Canada Property | Disposal Group, Disposed of by Sale, Not Discontinued Operations | 7037619 Canada Inc. |  |  |  |  |  |  |  |
Ownership Interest By Project Type [Line Items] |  |  |  |  |  |  |  |
Proceeds from sale of property |  | $ 98.8 | $ 125 |  |  |  |  |
HEP |  |  |  |  |  |  |  |
Ownership Interest By Project Type [Line Items] |  |  |  |  |  |  |  |
Percentage of ownership in variable interest entity |  |  |  |  | 47.00% |  |  |
Sinclair Merger |  |  |  |  |  |  |  |
Ownership Interest By Project Type [Line Items] |  |  |  |  |  |  |  |
Number of branded stations | brandedStation | 1,300 |  |  |  |  |  |  |
Number of locations licensed to use brand | location | 300 |  |  |  |  |  |  |
Asset retirement obligation |  |  |  |  |  |  |  | $ 6.2
Sinclair Merger | HEP |  |  |  |  |  |  |  |
Ownership Interest By Project Type [Line Items] |  |  |  |  |  |  |  |
Shares issued in transaction (in shares) | shares | 21,000,000 |  |  |  |  |  |  |
Sinclair Merger | REH Company |  |  |  |  |  |  |  |
Ownership Interest By Project Type [Line Items] |  |  |  |  |  |  |  |
Shares issued in transaction (in shares) | shares | 60,230,036 |  |  |  |  |  |  |
Sinclair Merger | REH Company | HEP |  |  |  |  |  |  |  |
Ownership Interest By Project Type [Line Items] |  |  |  |  |  |  |  |
Shares issued in transaction (in shares) | shares | 21,000,000 |  |  |  |  |  |  |

X
- Definition Frequency of turnarounds maintenance + References No definition available. + Details
Name: | dino_FrequencyOfTurnaroundsMaintenance
Namespace Prefix: | dino_
Data Type: | xbrli:durationItemType
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 Ownership Interest By Project Type + References No definition available. + Details
Name: | dino_OwnershipInterestByProjectTypeLineItems
Namespace Prefix: | dino_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Payments Under Inventory Repurchase Agreements + References No definition available. + Details
Name: | dino_PaymentsUnderInventoryRepurchaseAgreements
Namespace Prefix: | dino_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Proceeds From Inventory Repurchase Agreements + References No definition available. + Details
Name: | dino_ProceedsFromInventoryRepurchaseAgreements
Namespace Prefix: | dino_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Turnaround And Catalyst Amortization Costs + References No definition available. + Details
Name: | dino_TurnaroundAndCatalystAmortizationCosts
Namespace Prefix: | dino_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of allowance for credit loss on accounts receivable. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 13 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 4 -URI https://asc.fasb.org/extlink&oid=123577603&loc=d3e5074-111524 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 13 -Subparagraph (f) -URI https://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 45 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=124255206&loc=SL82895884-210446 Reference 5: 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(4)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_AllowanceForDoubtfulAccountsReceivable
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The carrying amount of a liability for an asset retirement obligation. An asset retirement obligation is a legal obligation associated with the disposal or retirement of a tangible long-lived asset that results from the acquisition, construction or development, or the normal operations of a long-lived asset, except for certain obligations of lessees. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 410 -SubTopic 20 -Section 25 -Paragraph 4 -URI https://asc.fasb.org/extlink&oid=116646717&loc=d3e6290-110844 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 410 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (c) -URI https://asc.fasb.org/extlink&oid=6392692&loc=d3e7535-110849 + Details
Name: | us-gaap_AssetRetirementObligation
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 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 Amount of gain (loss) on sale or disposal of assets, including but not limited to property plant and equipment, intangible assets and equity in securities of subsidiaries or equity method investee. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -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_GainLossOnDispositionOfAssets1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Indicates line item in statement of income or comprehensive income that includes impairment of long-lived asset held for use. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 360 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=109226691&loc=d3e2921-110230 + Details
Name: | us-gaap_ImpairmentLongLivedAssetHeldForUseStatementOfIncomeOrComprehensiveIncomeExtensibleEnumeration
Namespace Prefix: | us-gaap_
Data Type: | enum2:enumerationSetItemType
Balance Type: | na
Period Type: | duration

X
- Definition The aggregate amount of write-downs for impairments recognized during the period for long lived assets held for use (including those held for disposal by means other than sale). + 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 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 360 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=109226691&loc=d3e2921-110230 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 360 -SubTopic 10 -Section 45 -Paragraph 4 -URI https://asc.fasb.org/extlink&oid=126905981&loc=d3e2420-110228 + Details
Name: | us-gaap_ImpairmentOfLongLivedAssetsHeldForUse
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The cash inflow from the sale of land held for use; excludes sales of land held as inventory or investments. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 12 -Subparagraph (c) -URI https://asc.fasb.org/extlink&oid=126954810&loc=d3e3179-108585 + Details
Name: | us-gaap_ProceedsFromSaleOfLandHeldForUse
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Useful life of long lived, physical assets used in the normal conduct of business and not intended for resale, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. Examples include, but not limited to, land, buildings, machinery and equipment, office equipment, furniture and fixtures, and computer equipment. + References No definition available. + Details
Name: | us-gaap_PropertyPlantAndEquipmentUsefulLife
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of costs incurred to date for the specified restructuring cost. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 420 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (b)(1) -URI https://asc.fasb.org/extlink&oid=6394359&loc=d3e17939-110869 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 420 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (d) -URI https://asc.fasb.org/extlink&oid=6394359&loc=d3e17939-110869 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 420 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SAB Topic 5.P.4(d)) -URI https://asc.fasb.org/extlink&oid=115931487&loc=d3e140904-122747 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 420 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SAB Topic 5.P.4(b)(1)) -URI https://asc.fasb.org/extlink&oid=115931487&loc=d3e140904-122747 + Details
Name: | us-gaap_RestructuringAndRelatedCostCostIncurredToDate1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Carrying amount (including both current and noncurrent portions of the accrual) as of the balance sheet date pertaining to a specified type of cost associated with exit from or disposal of business activities or restructuring pursuant to a duly authorized plan. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 420 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (b)(2) -URI https://asc.fasb.org/extlink&oid=6394359&loc=d3e17939-110869 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 420 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SAB TOPIC 5.P.4(b)(2)) -URI https://asc.fasb.org/extlink&oid=115931487&loc=d3e140904-122747 + Details
Name: | us-gaap_RestructuringReserve
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of expenses for special or contractual termination benefits provided to current employees involuntarily terminated under a benefit arrangement associated exit or disposal activities pursuant to an authorized plan. Excludes expenses related to one-time 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_SeveranceCosts1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Percentage of the Variable Interest Entity's (VIE) voting interest owned by (or beneficial interest in) the reporting entity (directly or indirectly). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 810 -SubTopic 10 -Section 50 -Paragraph 5A -Subparagraph (d) -URI https://asc.fasb.org/extlink&oid=123419778&loc=SL6759159-111685 + Details
Name: | us-gaap_VariableInterestEntityOwnershipPercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

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: | us-gaap_PublicUtilitiesInventoryAxis=us-gaap_InventoriesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=dino_CheyenneRefineryMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=dino_RefiningPipelineAndTerminalFacilitiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=us-gaap_BuildingAndBuildingImprovementsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=dino_OtherFixedAssetsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=us-gaap_VehiclesMember
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_RefiningSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis=dino_MississaugaCanadaPropertyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DisposalGroupClassificationAxis=us-gaap_DisposalGroupDisposedOfBySaleNotDiscontinuedOperationsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | srt_ConsolidatedEntitiesAxis=us-gaap_VariableInterestEntityPrimaryBeneficiaryMember
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: | srt_CounterpartyNameAxis=dino_TheSinclairCompaniesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |