XML 89 R66.htm IDEA: XBRL DOCUMENT
v3.22.4

Fair Value Measurements (Details) - USD ($) $ in Thousands | Dec. 31, 2022 | Dec. 31, 2021
--- | --- | ---
Level 1 |  |
Debt Instrument [Line Items] |  |
Assets: | $ 0 | $ 0
Liabilities: | 2,750 | 1,269
Level 2 |  |
Debt Instrument [Line Items] |  |
Assets: | 99,882 | 6,463
Liabilities: | 90,494 | 9,995
Level 3 |  |
Debt Instrument [Line Items] |  |
Assets: | 0 | 0
Liabilities: | 0 | 0
Carrying Amount |  |
Debt Instrument [Line Items] |  |
Assets: | 99,882 | 6,463
Liabilities: | 93,244 | 11,264
Commodity price swaps | Level 1 |  |
Debt Instrument [Line Items] |  |
Assets: | 0 |
Commodity price swaps | Level 2 |  |
Debt Instrument [Line Items] |  |
Assets: | 342 |
Commodity price swaps | Level 3 |  |
Debt Instrument [Line Items] |  |
Assets: | 0 |
Commodity price swaps | Carrying Amount |  |
Debt Instrument [Line Items] |  |
Assets: | 342 |
Commodity forward contracts | Level 1 |  |
Debt Instrument [Line Items] |  |
Assets: | 0 | 0
Liabilities: | 0 | 0
Commodity forward contracts | Level 2 |  |
Debt Instrument [Line Items] |  |
Assets: | 2,949 | 286
Liabilities: | 2,987 | 566
Commodity forward contracts | Level 3 |  |
Debt Instrument [Line Items] |  |
Assets: | 0 | 0
Liabilities: | 0 | 0
Commodity forward contracts | Carrying Amount |  |
Debt Instrument [Line Items] |  |
Assets: | 2,949 | 286
Liabilities: | 2,987 | 566
RINs | Level 1 |  |
Debt Instrument [Line Items] |  |
Assets: | 0 |
Liabilities: | 0 | 0
RINs | Level 2 |  |
Debt Instrument [Line Items] |  |
Assets: | 81,232 |
Liabilities: | 81,232 | 9,429
RINs | Level 3 |  |
Debt Instrument [Line Items] |  |
Assets: | 0 |
Liabilities: | 0 | 0
RINs | Carrying Amount |  |
Debt Instrument [Line Items] |  |
Assets: | 81,232 |
Liabilities: | 81,232 | 9,429
Foreign currency forward contracts | Level 1 |  |
Debt Instrument [Line Items] |  |
Assets: | 0 | 0
Foreign currency forward contracts | Level 2 |  |
Debt Instrument [Line Items] |  |
Assets: | 15,359 | 6,177
Foreign currency forward contracts | Level 3 |  |
Debt Instrument [Line Items] |  |
Assets: | 0 | 0
Foreign currency forward contracts | Carrying Amount |  |
Debt Instrument [Line Items] |  |
Assets: | 15,359 | 6,177
NYMEX futures contracts | Level 1 |  |
Debt Instrument [Line Items] |  |
Liabilities: | 2,750 | 1,269
NYMEX futures contracts | Level 2 |  |
Debt Instrument [Line Items] |  |
Liabilities: | 0 | 0
NYMEX futures contracts | Level 3 |  |
Debt Instrument [Line Items] |  |
Liabilities: | 0 | 0
NYMEX futures contracts | Carrying Amount |  |
Debt Instrument [Line Items] |  |
Liabilities: | 2,750 | $ 1,269
Commodity collar contracts | Level 1 |  |
Debt Instrument [Line Items] |  |
Liabilities: | 0 |
Commodity collar contracts | Level 2 |  |
Debt Instrument [Line Items] |  |
Liabilities: | 6,275 |
Commodity collar contracts | Level 3 |  |
Debt Instrument [Line Items] |  |
Liabilities: | 0 |
Commodity collar contracts | Carrying Amount |  |
Debt Instrument [Line Items] |  |
Liabilities: | $ 6,275 |

X
- Definition Fair value portion of probable future economic benefits obtained or controlled by an entity as a result of past transactions or events. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258 + Details
Name: | us-gaap_AssetsFairValueDisclosure
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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_DebtInstrumentLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

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
- Details
Name: | us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel1Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel2Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel3Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByMeasurementBasisAxis=us-gaap_CarryingReportedAmountFairValueDisclosureMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_ForwardContractsMember
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_FinancialInstrumentAxis=us-gaap_ForeignExchangeForwardMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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