XML 86 R63.htm IDEA: XBRL DOCUMENT
v3.22.4

Revenues - Schedule of Disaggregated Revenues (Details) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2022 | Dec. 31, 2021 | Dec. 31, 2020
Disaggregation of Revenue [Line Items] |  |  |
Sales and other revenues | $ 38,204,839 | $ 18,389,142 | $ 11,183,643
Transportation fuels |  |  |
Disaggregation of Revenue [Line Items] |  |  |
Sales and other revenues | 25,895,867 | 13,414,543 | 7,825,625
Specialty lubricant products |  |  |
Disaggregation of Revenue [Line Items] |  |  |
Sales and other revenues | 2,826,206 | 2,322,242 | 1,657,344
Asphalt, fuel oil and other products |  |  |
Disaggregation of Revenue [Line Items] |  |  |
Sales and other revenues | 2,147,710 | 948,581 | 672,371
Refined Product |  |  |
Disaggregation of Revenue [Line Items] |  |  |
Sales and other revenues | 30,869,783 | 16,685,366 | 10,155,340
Refined Product | Mid-Continent |  |  |
Disaggregation of Revenue [Line Items] |  |  |
Sales and other revenues | 13,924,566 | 9,094,885 | 5,096,268
Refined Product | Southwest |  |  |
Disaggregation of Revenue [Line Items] |  |  |
Sales and other revenues | 4,965,298 | 3,477,562 | 2,310,432
Refined Product | Rocky Mountains |  |  |
Disaggregation of Revenue [Line Items] |  |  |
Sales and other revenues | 9,533,476 | 2,118,619 | 1,311,416
Refined Product | Northeast |  |  |
Disaggregation of Revenue [Line Items] |  |  |
Sales and other revenues | 1,037,771 | 824,900 | 552,069
Refined Product | Canada |  |  |
Disaggregation of Revenue [Line Items] |  |  |
Sales and other revenues | 1,063,961 | 836,317 | 616,683
Refined Product | Europe, Asia and Latin America |  |  |
Disaggregation of Revenue [Line Items] |  |  |
Sales and other revenues | 344,711 | 333,083 | 268,472
Excess crude oil revenues |  |  |
Disaggregation of Revenue [Line Items] |  |  |
Sales and other revenues | 2,342,288 | 1,547,696 | 884,248
Renewable diesel revenues |  |  |
Disaggregation of Revenue [Line Items] |  |  |
Sales and other revenues | 654,893 | 0 | 0
Transportation and logistic services |  |  |
Disaggregation of Revenue [Line Items] |  |  |
Sales and other revenues | 109,200 | 103,646 | 98,039
Marketing revenues |  |  |
Disaggregation of Revenue [Line Items] |  |  |
Sales and other revenues | 3,911,922 | 0 | 0
Other revenues |  |  |
Disaggregation of Revenue [Line Items] |  |  |
Sales and other revenues | 316,753 | 52,434 | 46,016
Refining |  |  |
Disaggregation of Revenue [Line Items] |  |  |
Sales and other revenues | 30,379,696 | 15,734,870 | 9,286,658
Refining | Asphalt, fuel oil and other products |  |  |
Disaggregation of Revenue [Line Items] |  |  |
Sales and other revenues | 1,827,300 | 724,300 | 533,500
Lubricants and Specialty Products |  |  |
Disaggregation of Revenue [Line Items] |  |  |
Sales and other revenues | 3,149,128 | 2,550,624 | 1,792,745
Lubricants and Specialty Products | Asphalt, fuel oil and other products |  |  |
Disaggregation of Revenue [Line Items] |  |  |
Sales and other revenues | $ 314,800 | $ 224,300 | 135,400
Corporate and Other | Transportation fuels |  |  |
Disaggregation of Revenue [Line Items] |  |  |
Sales and other revenues |  |  | $ 1,600

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

X
- Definition Amount, excluding tax collected from customer, of revenue from satisfaction of performance obligation by transferring promised good or service to customer. Tax collected from customer is tax assessed by governmental authority that is both imposed on and concurrent with specific revenue-producing transaction, including, but not limited to, sales, use, value added and excise. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 30 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126901519&loc=d3e8906-108599 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 40 -URI https://asc.fasb.org/extlink&oid=126901519&loc=d3e9031-108599 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 41 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126901519&loc=d3e9038-108599 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 32 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126901519&loc=d3e8933-108599 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 32 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126901519&loc=d3e8933-108599 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 606 -SubTopic 10 -Section 50 -Paragraph 4 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126920106&loc=SL49130543-203045 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 22 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599 Reference 8: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 22 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599 Reference 9: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 42 -URI https://asc.fasb.org/extlink&oid=126901519&loc=d3e9054-108599 Reference 10: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 606 -SubTopic 10 -Section 50 -Paragraph 5 -URI https://asc.fasb.org/extlink&oid=126920106&loc=SL49130545-203045 Reference 11: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 924 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SAB Topic 11.L) -URI https://asc.fasb.org/extlink&oid=6472922&loc=d3e499488-122856 + Details
Name: | us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | srt_ProductOrServiceAxis=dino_TransportationFuelsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ProductOrServiceAxis=dino_SpecialtyLubricantProductsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ProductOrServiceAxis=dino_AsphaltFuelOilAndOtherProductsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ProductOrServiceAxis=dino_RefinedProductMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

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

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

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

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

X
- Details
Name: | srt_ProductOrServiceAxis=srt_CrudeOilMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ProductOrServiceAxis=dino_RenewableDieselMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ProductOrServiceAxis=dino_TransportationAndLogisticServicesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ProductOrServiceAxis=dino_MarketingSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ProductOrServiceAxis=us-gaap_ProductAndServiceOtherMember
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=dino_LubricantsAndSpecialtyProductsSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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