XML 109 R86.htm IDEA: XBRL DOCUMENT
v3.22.4

Derivative Instruments and Hedging Activities - Summary Of Balance Sheet Locations And Related Fair Values Of Outstanding Derivative Instruments (Details) - USD ($) $ in Thousands | Dec. 31, 2022 | Dec. 31, 2021
--- | --- | ---
Derivative [Line Items] |  |
Net Assets Recognized in Balance Sheet | $ 18,650 | $ 6,463
Derivative Asset, Statement of Financial Position [Extensible Enumeration] | Prepayments and other (HEP: $5,699 and $5,381, respectively) | Prepayments and other (HEP: $5,699 and $5,381, respectively)
Net Liabilities Recognized in Balance Sheet | $ 12,012 | $ 1,835
Derivative Liability, Statement of Financial Position [Extensible Enumeration] | Accrued liabilities (HEP: $39,110 and $18,479, respectively) | Accrued liabilities (HEP: $39,110 and $18,479, respectively)
Derivatives not designated as hedging instruments: |  |
Derivative [Line Items] |  |
Gross Assets | $ 18,650 | $ 7,780
Gross Liabilities Offset in Balance Sheet | 0 | (1,317)
Net Assets Recognized in Balance Sheet | 18,650 | 6,463
Gross Liabilities | 12,012 | 1,597
Gross Assets Offset in Balance Sheet | 0 | 0
Net Liabilities Recognized in Balance Sheet | 12,012 | 1,597
Derivatives not designated as hedging instruments: | NYMEX futures contracts |  |
Derivative [Line Items] |  |
Gross Assets | 0 | 0
Gross Liabilities Offset in Balance Sheet | 0 | 0
Net Assets Recognized in Balance Sheet | 0 | 0
Gross Liabilities | 2,750 | 1,269
Gross Assets Offset in Balance Sheet | 0 | 0
Net Liabilities Recognized in Balance Sheet | 2,750 | 1,269
Derivatives not designated as hedging instruments: | Commodity price swaps |  |
Derivative [Line Items] |  |
Gross Assets | 342 |
Gross Liabilities Offset in Balance Sheet | 0 |
Net Assets Recognized in Balance Sheet | 342 |
Gross Liabilities | 0 |
Gross Assets Offset in Balance Sheet | 0 |
Net Liabilities Recognized in Balance Sheet | 0 |
Derivatives not designated as hedging instruments: | Commodity collar contracts |  |
Derivative [Line Items] |  |
Gross Assets | 0 |
Gross Liabilities Offset in Balance Sheet | 0 |
Net Assets Recognized in Balance Sheet | 0 |
Gross Liabilities | 6,275 |
Gross Assets Offset in Balance Sheet | 0 |
Net Liabilities Recognized in Balance Sheet | 6,275 |
Derivatives not designated as hedging instruments: | Commodity forward contracts |  |
Derivative [Line Items] |  |
Gross Assets | 2,949 | 286
Gross Liabilities Offset in Balance Sheet | 0 | 0
Net Assets Recognized in Balance Sheet | 2,949 | 286
Gross Liabilities | 2,987 | 328
Gross Assets Offset in Balance Sheet | 0 | 0
Net Liabilities Recognized in Balance Sheet | 2,987 | 328
Derivatives not designated as hedging instruments: | Foreign currency forward contracts |  |
Derivative [Line Items] |  |
Gross Assets | 15,359 | 7,494
Gross Liabilities Offset in Balance Sheet | 0 | (1,317)
Net Assets Recognized in Balance Sheet | 15,359 | 6,177
Gross Liabilities | 0 | 0
Gross Assets Offset in Balance Sheet | 0 | 0
Net Liabilities Recognized in Balance Sheet | $ 0 | 0
Derivatives designated as cash flow hedging instruments: |  |
Derivative [Line Items] |  |
Gross Assets |  | 0
Gross Liabilities Offset in Balance Sheet |  | 0
Net Assets Recognized in Balance Sheet |  | 0
Gross Liabilities |  | 238
Gross Assets Offset in Balance Sheet |  | 0
Net Liabilities Recognized in Balance Sheet |  | 238
Derivatives designated as cash flow hedging instruments: | Commodity forward contracts |  |
Derivative [Line Items] |  |
Gross Assets |  | 0
Gross Liabilities Offset in Balance Sheet |  | 0
Net Assets Recognized in Balance Sheet |  | 0
Gross Liabilities |  | 238
Gross Assets Offset in Balance Sheet |  | 0
Net Liabilities Recognized in Balance Sheet |  | $ 238

X
- Definition Fair value of liability associated with financial asset or other contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4B -Subparagraph (a),(c) -URI https://asc.fasb.org/extlink&oid=125515794&loc=SL5624163-113959 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 55 -Paragraph 8 -URI https://asc.fasb.org/extlink&oid=99393222&loc=SL20226003-175313 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 50 -Paragraph 3 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=51824906&loc=SL20225862-175312 + Details
Name: | us-gaap_DerivativeAssetFairValueGrossLiability
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Indicates line item in statement of financial position that includes derivative asset. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4A -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=125515794&loc=SL5618551-113959 + Details
Name: | us-gaap_DerivativeAssetStatementOfFinancialPositionExtensibleEnumeration
Namespace Prefix: | us-gaap_
Data Type: | enum2:enumerationSetItemType
Balance Type: | na
Period Type: | instant

X
- Definition Fair value, after the effects of master netting arrangements, of a financial asset or other contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset. Includes assets not subject to a master netting arrangement and not elected to be offset. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 55 -Paragraph 10 -URI https://asc.fasb.org/extlink&oid=99393222&loc=SL20226008-175313 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 55 -Paragraph 22 -URI https://asc.fasb.org/extlink&oid=99393222&loc=SL20226052-175313 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 10 -URI https://asc.fasb.org/extlink&oid=123594938&loc=d3e13433-108611 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 50 -Paragraph 3 -Subparagraph (c) -URI https://asc.fasb.org/extlink&oid=51824906&loc=SL20225862-175312 + Details
Name: | us-gaap_DerivativeAssets
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Fair value, before effects of master netting arrangements, of a financial asset or other contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset. Includes assets elected not to be offset. Excludes assets not subject to a master netting arrangement. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 50 -Paragraph 3 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=51824906&loc=SL20225862-175312 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 55 -Paragraph 22 -URI https://asc.fasb.org/extlink&oid=99393222&loc=SL20226052-175313 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 55 -Paragraph 7 -URI https://asc.fasb.org/extlink&oid=99393222&loc=SL20226000-175313 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 860 -SubTopic 20 -Section 50 -Paragraph 4D -Subparagraph (c)(2) -URI https://asc.fasb.org/extlink&oid=121570589&loc=SL51823488-111719 Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4B -Subparagraph (a),(c) -URI https://asc.fasb.org/extlink&oid=125515794&loc=SL5624163-113959 + Details
Name: | us-gaap_DerivativeFairValueOfDerivativeAsset
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Fair value, before effects of master netting arrangements, of a financial liability or contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset. Includes liabilities elected not to be offset. Excludes liabilities not subject to a master netting arrangement. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 860 -SubTopic 20 -Section 50 -Paragraph 4D -Subparagraph (c)(2) -URI https://asc.fasb.org/extlink&oid=121570589&loc=SL51823488-111719 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4B -Subparagraph (a),(c) -URI https://asc.fasb.org/extlink&oid=125515794&loc=SL5624163-113959 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 50 -Paragraph 3 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=51824906&loc=SL20225862-175312 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 55 -Paragraph 7 -URI https://asc.fasb.org/extlink&oid=99393222&loc=SL20226000-175313 Reference 5: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 55 -Paragraph 22 -URI https://asc.fasb.org/extlink&oid=99393222&loc=SL20226052-175313 + Details
Name: | us-gaap_DerivativeFairValueOfDerivativeLiability
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Fair value, after the effects of master netting arrangements, of a financial liability or contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset. Includes liabilities not subject to a master netting arrangement and not elected to be offset. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 50 -Paragraph 3 -Subparagraph (c) -URI https://asc.fasb.org/extlink&oid=51824906&loc=SL20225862-175312 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 55 -Paragraph 10 -URI https://asc.fasb.org/extlink&oid=99393222&loc=SL20226008-175313 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 10 -URI https://asc.fasb.org/extlink&oid=123594938&loc=d3e13433-108611 Reference 4: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 55 -Paragraph 22 -URI https://asc.fasb.org/extlink&oid=99393222&loc=SL20226052-175313 + Details
Name: | us-gaap_DerivativeLiabilities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Fair value of asset associated with financial liability or contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 55 -Paragraph 20 -URI https://asc.fasb.org/extlink&oid=99393222&loc=SL20226038-175313 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 50 -Paragraph 3 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=51824906&loc=SL20225862-175312 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 55 -Paragraph 8 -URI https://asc.fasb.org/extlink&oid=99393222&loc=SL20226003-175313 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4B -Subparagraph (a),(c) -URI https://asc.fasb.org/extlink&oid=125515794&loc=SL5624163-113959 + Details
Name: | us-gaap_DerivativeLiabilityFairValueGrossAsset
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Indicates line item in statement of financial position that includes derivative liability. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4A -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=125515794&loc=SL5618551-113959 + Details
Name: | us-gaap_DerivativeLiabilityStatementOfFinancialPositionExtensibleEnumeration
Namespace Prefix: | us-gaap_
Data Type: | enum2:enumerationSetItemType
Balance Type: | na
Period Type: | instant

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_DerivativeLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_HedgingDesignationAxis=us-gaap_NondesignatedMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=dino_NymexFuturesContractsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=us-gaap_CommodityContractMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=dino_CommodityCollarContractsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=us-gaap_ForwardContractsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=us-gaap_ForeignExchangeForwardMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_HedgingDesignationAxis=us-gaap_DesignatedAsHedgingInstrumentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |