XML 72 R59.htm IDEA: XBRL DOCUMENT
v3.24.0.1

Derivatives (Details) - Schedule of Recognized Gains (Losses) for its Derivatives - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2023 | Dec. 31, 2022 | Dec. 31, 2021
Realized Gains [Member] |  |  |
Schedule of Recognized Gains (Losses) for its Derivatives [Line Items] |  |  |
Realized gain loss on derivatives | $ 1,647 | $ 23,280 | $ 32,618
Unrealized Losses [Member] |  |  |
Schedule of Recognized Gains (Losses) for its Derivatives [Line Items] |  |  |
Unrealized gain loss on derivatives | (9,678) | (4,017) | (10,999)
Cost of goods sold [Member] | Commodity Contract [Member] | Realized Gains [Member] |  |  |
Schedule of Recognized Gains (Losses) for its Derivatives [Line Items] |  |  |
Realized gain loss on derivatives | 1,647 | 23,280 | 32,618
Commodity Contract [Member] | Unrealized Losses [Member] |  |  |
Schedule of Recognized Gains (Losses) for its Derivatives [Line Items] |  |  |
Unrealized gain loss on derivatives | $ (9,678) | $ (4,017) | $ (10,999)

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 Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4E -Publisher FASB -URI https://asc.fasb.org//1943274/2147480434/815-10-50-4E + Details
Name: | us-gaap_DerivativeInstrumentsGainLossLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of realized gain (loss) on investment. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 944 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-04(3)(a)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147483586/944-220-S99-1 + Details
Name: | us-gaap_RealizedInvestmentGainsLosses
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The net change in the difference between the fair value and the carrying value, or in the comparative fair values, of open derivatives, commodity, or energy contracts, held at each balance sheet date, that was included in earnings for the period. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 45 -Paragraph 28 -Subparagraph (b) -SubTopic 10 -Topic 230 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482740/230-10-45-28 + Details
Name: | us-gaap_UnrealizedGainLossOnDerivativesAndCommodityContracts
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | srt_ConsolidatedEntitiesAxis=alto_RealizedGainsLossesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ConsolidatedEntitiesAxis=alto_UnrealizedGainsLossesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=us-gaap_CostOfSalesMember
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_IncomeStatementLocationAxis=us-gaap_CommodityContractMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |