XML 73 R61.htm IDEA: XBRL DOCUMENT
v3.22.4

Derivatives (Details) - Schedule of recognized gains for its derivatives - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2022 | Dec. 31, 2021 | Dec. 31, 2020
Realized Gains [Member] |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |
Type of Instrument | Commodity contracts |  |
Statements of Operations Location | Cost of goods sold |  |
Realized Gains | $ 23,280 | $ 32,618 | $ 2,102
Total Realized Gains | $ 23,280 | 32,618 | 2,102
Unrealized Gains (Losses) [Member] |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |
Type of Instrument | Commodity contracts |  |
Statements of Operations Location | Cost of goods sold |  |
Unrealized Gains (Losses) | $ (4,017) | (10,999) | 12,678
Total Unrealized Gains (Losses) | $ (4,017) | $ (10,999) | $ 12,678

X
- Definition Statements of Operations Location. + References No definition available. + Details
Name: | alto_StatementsOfOperationsLocationRealizedGains
Namespace Prefix: | alto_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Statements of Operations Location. + References No definition available. + Details
Name: | alto_StatementsOfOperationsLocationUnrealizedLosses
Namespace Prefix: | alto_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Description of the type of derivative instrument, such as a swap, forward, and option. Excludes the underlying risk of the instrument. + References No definition available. + Details
Name: | alto_TypeOfInstrumentRealizedGains
Namespace Prefix: | alto_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Description of the type of derivative instrument, such as a swap, forward, and option. Excludes the underlying risk of the instrument. + References No definition available. + Details
Name: | alto_TypeOfInstrumentUnrealizedLosses
Namespace Prefix: | alto_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

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

X
- Definition Aggregate net gain and losses (whether realized or unrealized) on all derivative instruments held for trading purposes whether or not settled physically. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4F -URI https://asc.fasb.org/extlink&oid=125515794&loc=SL5624186-113959 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 45 -Paragraph 9 -URI https://asc.fasb.org/extlink&oid=126966630&loc=d3e41322-113958 + Details
Name: | us-gaap_GainLossOnDerivativeInstrumentsHeldForTradingPurposesNet
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 derivative instruments, including options, swaps, futures, and forward 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 -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585 + Details
Name: | us-gaap_UnrealizedGainLossOnDerivatives
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | srt_ConsolidatedEntitiesAxis=alto_RealizedGainsMember
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: |