XML 126 R103.htm IDEA: XBRL DOCUMENT
v3.22.4

Contingencies And Contractual Commitments - Narrative (Details) - USD ($) $ in Thousands |  |  | 12 Months Ended
--- | --- | --- | ---
Mar. 14, 2022 | Feb. 10, 2021 | Dec. 31, 2022 | Dec. 31, 2021 | Dec. 31, 2020
Commitments And Contingencies [Line Items] |  |  |  |  |
Gain on business interruption insurance settlement |  |  | $ 15,202 | $ 0 | $ 81,000
Gain on Business Interruption Insurance Recovery, Statement of Income or Comprehensive Income [Extensible Enumeration] |  |  | Gain on business interruption insurance settlement |  | Gain on business interruption insurance settlement
Proceeds from legal settlement |  | $ 51,500 |  |  |
Transportation and storage costs |  |  | $ 180,200 | $ 160,500 | $ 139,000
Sinclair Merger |  |  |  |  |
Commitments And Contingencies [Line Items] |  |  |  |  |
Shares held in escrow (in shares) | 2,570,000 |  |  |  |
Sinclair Merger | HEP |  |  |  |  |
Commitments And Contingencies [Line Items] |  |  |  |  |
Shares held in escrow (in shares) | 5,290,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 Commitments And Contingencies [Line Items] + References No definition available. + Details
Name: | dino_CommitmentsAndContingenciesLineItems
Namespace Prefix: | dino_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The net amount (to the extent disclosed within this portion of the income statement) by which an insurance settlement exceeds incremental costs incurred from the event causing an interruption of business, plus the insurance award for earnings lost from the event, such as a natural catastrophe, explosion or fire. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 30 -Section 50 -Paragraph 1 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=114868897&loc=SL114872001-224240 + Details
Name: | us-gaap_GainOnBusinessInterruptionInsuranceRecovery
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 gain from business interruption insurance recovery. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 30 -Section 50 -Paragraph 1 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=114868897&loc=SL114872001-224240 + Details
Name: | us-gaap_GainOnBusinessInterruptionInsuranceRecoveryStatementOfIncomeOrComprehensiveIncomeExtensibleEnumeration
Namespace Prefix: | us-gaap_
Data Type: | enum2:enumerationSetItemType
Balance Type: | na
Period Type: | duration

X
- Definition Cash received for the settlement of litigation during the current period. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 25 -Subparagraph (c) -URI https://asc.fasb.org/extlink&oid=126954810&loc=d3e3536-108585 + Details
Name: | us-gaap_ProceedsFromLegalSettlements
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Includes the cost to prepare and move liquid hydrocarbons and natural gas to their points of sale. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 932 -SubTopic 235 -Section 50 -Paragraph 23 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126939881&loc=d3e62136-109447 + Details
Name: | us-gaap_ResultsOfOperationsTransportationCosts
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=dino_SinclairMergerMember
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: |