XML 78 R59.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Summary of Significant Accounting Policies - Summary of Property Plant And Equipment (Details) | 12 Months Ended
--- | ---
Dec. 31, 2021
Refining | Minimum |
Property, Plant and Equipment [Line Items] |
PP&E useful life | 2 years
Refining | Maximum |
Property, Plant and Equipment [Line Items] |
PP&E useful life | 47 years
Logistics | Minimum |
Property, Plant and Equipment [Line Items] |
PP&E useful life | 3 years
Logistics | Maximum |
Property, Plant and Equipment [Line Items] |
PP&E useful life | 30 years
Retail | Minimum |
Property, Plant and Equipment [Line Items] |
PP&E useful life | 3 years
Retail | Maximum |
Property, Plant and Equipment [Line Items] |
PP&E useful life | 40 years
Corporate | Minimum |
Property, Plant and Equipment [Line Items] |
PP&E useful life | 3 years
Corporate | Maximum |
Property, Plant and Equipment [Line Items] |
PP&E useful life | 7 years
Software | Minimum |
Property, Plant and Equipment [Line Items] |
PP&E useful life | 3 years
Software | Maximum |
Property, Plant and Equipment [Line Items] |
PP&E useful life | 5 years

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_PropertyPlantAndEquipmentLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
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
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=us-gaap_RefiningEquipmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

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

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