XML 65 R53.htm IDEA: XBRL DOCUMENT
v3.26.1

Derivative and Hedging Instruments (Details-4) - USD ($) $ in Thousands | 3 Months Ended | 6 Months Ended
--- | --- | ---
Jun. 30, 2026 | Jun. 30, 2025 | Jun. 30, 2026 | Jun. 30, 2025
Current And Long Term Reg Asset Liability [Member] |  |  |  |
Change In Derivative Fair Value [Roll Forward] |  |  |  |
Unrealized loss | $ 1,680 | $ 2,118 | $ (3,753) | $ 362
Realized (loss) gain reclassified to a deferred account | (245) | (288) | 2,363 | 263
Realized (loss) gain reclassified to income statement | (567) | (667) | 768 | (1,262)
Derivatives Other Current Assets [Member] |  |  |  |
Change In Derivative Fair Value [Roll Forward] |  |  |  |
Unrealized loss | 0 | 0 | 0 | 0
Realized (loss) gain reclassified to a deferred account | 245 | 288 | (2,363) | (263)
Realized (loss) gain reclassified to income statement | $ (54) | $ 30 | $ 2,261 | $ 271

X
- Definition Change In Derivative Fair Value Roll Forward + References No definition available. + Details
Name: | mgee_ChangeInDerivativeFairValueRollForward
Namespace Prefix: | mgee_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Change in realized derivative gains and losses deferred. + References No definition available. + Details
Name: | mgee_DerivativeRealizedGainLossDeferred
Namespace Prefix: | mgee_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of increase (decrease) in the fair value of derivatives recognized in the income statement. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4A -Subparagraph (b)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4A Reference 2: http://www.xbrl.org/2003/role/exampleRef -Topic 825 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 10 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482881/825-10-55-10 + Details
Name: | us-gaap_DerivativeGainLossOnDerivativeNet
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 -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 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-07(7)(c)(3)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479134/946-220-S99-1 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-07(7)(c)(5)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479134/946-220-S99-1 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-07(7)(c)(6)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479134/946-220-S99-1 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-07(7)(c)(7)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479134/946-220-S99-1 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 5A -Subparagraph (SX 210.12-13A(Column F)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-5A + Details
Name: | us-gaap_UnrealizedGainLossOnDerivatives
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | mgee_DerivativeActivityAxis=mgee_CurrentAndLongTermRegAssetLiabilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | mgee_DerivativeActivityAxis=mgee_DerivativesOtherCurrentAssetsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |