XML 76 R56.htm IDEA: XBRL DOCUMENT
v3.22.4

Debt (Details) - USD ($) | 1 Months Ended | 3 Months Ended | 12 Months Ended
--- | --- | --- | ---
Jul. 31, 2022 | Aug. 31, 2020 | Mar. 31, 2022 | Dec. 31, 2022 | Dec. 31, 2021 | Dec. 31, 2020
Debt Instrument [Line Items] |  |  |  |  |  |
Loss on debt extinguishment |  |  |  | $ 40,199,000 | $ 36,914,000 | $ 26,736,000
Interest paid |  |  |  | $ 53,700,000 | 71,700,000 | 54,300,000
Convertible Junior Subordinated Debentures, at 9% per annum, Due 2063 |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Stated interest rate (in hundredths) |  |  |  | 9.00% |  |
Extinguishment of debt |  |  |  | $ 89,100,000 | 98,600,000 | 48,100,000
Repayments of long-term debt |  |  |  | 121,200,000 | 135,500,000 | 61,600,000
Loss on debt extinguishment |  |  |  | $ 32,100,000 | $ 36,900,000 | $ 10,200,000
Reduction in potentially dilutive shares due to debt extinguishment |  |  |  | 6,800,000 | 7,500,000 | 3,600,000
Reacquisition of convertible junior subordinated debentures-equity component |  |  |  |  |  | $ 2,700,000
Redemption price, percentage (in hundredths) |  |  |  | 100.00% |  |
Conversion rate (in shares per $1,000 note) |  |  |  | 77.9620 |  |
Principal amount of notes used in determining conversion rate |  |  |  | $ 1,000 |  |
Conversion price (in dollars per share) |  |  |  | $ 12.83 |  |
Period preceding election to convert |  |  |  | 5 days |  |
Closing sale price of our common stock for consideration of redemption (in dollars per share) |  |  |  | $ 16.67 |  |
Minimum number of trading days |  |  |  | 20 days |  |
Maximum number of trading days |  |  |  | 30 days |  |
Federal Home Loan Bank Advances (FHLB) |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Loss on debt extinguishment |  |  | $ 1,300,000 |  |  |
Federal Home Loan Bank Advance prepayment amount |  |  | $ 156,300,000 |  |  |
Senior Notes | 5.75% Senior Notes due 2023 |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Stated interest rate (in hundredths) |  |  |  | 5.75% |  |
Extinguishment of debt |  |  |  |  |  | 182,700,000
Loss on debt extinguishment | $ 6,800,000 |  |  |  |  | 16,500,000
Purchase of senior notes | $ 248,400,000 |  |  |  |  | $ 197,800,000
Senior Notes | 5.75% Senior Notes due 2023 | US Treasury (UST) Interest Rate |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Basis spread on variable rate | 0.50% |  |  |  |  |
Senior Notes | 5.25% Senior Notes due 2028 |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Stated interest rate (in hundredths) |  |  |  | 5.25% |  |
Debt instrument, face amount |  | $ 650,000,000 |  | $ 650,000,000 |  |
Proceeds from issuance of debt |  | 640,300,000 |  |  |  |
Debt issuance costs |  | $ 2,000,000 |  |  |  |
Ownership percentage threshold for declaration of due and payable |  |  |  | 25.00% |  |
Senior Notes | 5.25% Senior Notes due 2028 | Debt Instrument, Redemption, Period One |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Redemption price, percentage (in hundredths) |  |  |  | 102.625% |  |
Senior Notes | 5.25% Senior Notes due 2028 | Debt Instrument, Redemption, Period One | US Treasury (UST) Interest Rate |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Basis spread on variable rate |  |  |  | 0.50% |  |
Senior Notes | 5.25% Senior Notes due 2028 | Debt Instrument, Redemption, Period Two |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Redemption price, percentage (in hundredths) |  |  |  | 102.625% |  |
Senior Notes | 5.25% Senior Notes due 2028 | Debt Instrument, Redemption, Period Three |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Redemption price, percentage (in hundredths) |  |  |  | 101.313% |  |
Senior Notes | 5.25% Senior Notes due 2028 | Debt Instrument, Redemption, Period Four |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |
Redemption price, percentage (in hundredths) |  |  |  | 100.00% |  |

X
- Definition The price per share of the conversion feature embedded in the debt instrument. + References No definition available. + Details
Name: | mtg_DebtInstrumentConvertibleConversionPrice2
Namespace Prefix: | mtg_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition The number of shares that can be issued in exchange for the original debt if converted in a noncash (or part noncash) transaction. "Part noncash" refers to that portion of the transaction not resulting in cash receipts or payments in the period. + References No definition available. + Details
Name: | mtg_DebtInstrumentConvertibleNumberOfEquityInstrumentsIfDebtConverted
Namespace Prefix: | mtg_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Debt Instrument, Ownership Percentage Threshold, Declaration Of Due And Payable + References No definition available. + Details
Name: | mtg_DebtInstrumentOwnershipPercentageThresholdDeclarationOfDueAndPayable
Namespace Prefix: | mtg_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Reduction in the Company's potentially dilutive shares for computation of earnings per share due to debt extinguishment. + References No definition available. + Details
Name: | mtg_DilutiveSecuritiesReductionInPotentiallyDilutiveSharesDueToDebtExtinguishment
Namespace Prefix: | mtg_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition The maximum number of trading days within a specified time period that the closing sale price of the entity's common stock exceeds the prevailing conversion price of the debentures by a specified percentage. + References No definition available. + Details
Name: | mtg_MaximumNumberOfTradingDays
Namespace Prefix: | mtg_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition The minimum number of trading days within a specified time period that the closing sale price of the entity's common stock exceeds the prevailing conversion price of the debentures by a specified percentage. + References No definition available. + Details
Name: | mtg_MinimumNumberOfTradingDays
Namespace Prefix: | mtg_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition The period immediately prior to an election to convert debentures during which the average price of shares traded is determined for the purpose of calculating the conversion rate. + References No definition available. + Details
Name: | mtg_PeriodPrecedingElectionToConvert
Namespace Prefix: | mtg_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition The principal amount of notes used in the determination of the initial conversion rate, which is subject to adjustment. + References No definition available. + Details
Name: | mtg_PrincipalAmountOfNotesUsedInDeterminingConversionRate
Namespace Prefix: | mtg_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount of subsequent adjustments to additional paid in capital for convertible financial instruments where a component of equity and a component of debt are recognized. + References No definition available. + Details
Name: | us-gaap_AdjustmentsToAdditionalPaidInCapitalEquityComponentOfConvertibleDebtSubsequentAdjustments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Percentage points added to the reference rate to compute the variable rate on the debt instrument. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentBasisSpreadOnVariableRate1
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The price per share of the conversion feature embedded in the debt instrument. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 5 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=123466204&loc=SL6031898-161870 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1B -Subparagraph (c) -URI https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611 + Details
Name: | us-gaap_DebtInstrumentConvertibleConversionPrice1
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Face (par) amount of debt instrument at time of issuance. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1B -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 2 -URI https://asc.fasb.org/extlink&oid=124435984&loc=d3e28551-108399 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 55 -Paragraph 8 -URI https://asc.fasb.org/extlink&oid=114775985&loc=d3e28878-108400 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 50 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=124429444&loc=SL124452920-239629 Reference 5: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 55 -Paragraph 69C -URI https://asc.fasb.org/extlink&oid=123466577&loc=SL123495737-112612 Reference 6: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 55 -Paragraph 69B -URI https://asc.fasb.org/extlink&oid=123466577&loc=SL123495735-112612 + Details
Name: | us-gaap_DebtInstrumentFaceAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Contractual interest rate for funds borrowed, under the debt agreement. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1B -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(a)(1)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentInterestRateStatedPercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

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

X
- Definition Percentage price of original principal amount of debt at which debt can be redeemed by the issuer. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 470 -Section 50 -Paragraph 3 -Subparagraph e -URI https://asc.fasb.org/extlink&oid=123599511&loc=d3e64711-112823 + Details
Name: | us-gaap_DebtInstrumentRedemptionPricePercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount, before accumulated amortization, of debt issuance costs. Includes, but is not limited to, legal, accounting, underwriting, printing, and registration costs. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 3 -URI https://asc.fasb.org/extlink&oid=124435984&loc=d3e28555-108399 + Details
Name: | us-gaap_DeferredFinanceCostsGross
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The cash outflow for the extinguishment of long-term borrowing, with the highest claim on the assets of the entity in case of bankruptcy or liquidation, before its maturity. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 15 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126954810&loc=d3e3291-108585 + Details
Name: | us-gaap_EarlyRepaymentOfSeniorDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Gross amount of debt extinguished. + References No definition available. + Details
Name: | us-gaap_ExtinguishmentOfDebtAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of repayments and penalties incurred in the satisfaction or roll-over of Federal Home Loan Bank (FHLB) advance. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 470 -Section 45 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=6479118&loc=d3e64650-112822 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 470 -Section 50 -Paragraph 3 -URI https://asc.fasb.org/extlink&oid=123599511&loc=d3e64711-112823 + Details
Name: | us-gaap_FederalHomeLoanBankAdvancesGeneralDebtObligationsDisclosuresRepaymentAndPenalties
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Difference between the fair value of payments made and the carrying amount of debt which is extinguished prior to maturity. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 50 -Section 40 -Paragraph 4 -URI https://asc.fasb.org/extlink&oid=126972273&loc=d3e12355-112629 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 50 -Section 40 -Paragraph 2 -URI https://asc.fasb.org/extlink&oid=126972273&loc=d3e12317-112629 Reference 3: 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_GainsLossesOnExtinguishmentOfDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of cash paid for interest, including, but not limited to, capitalized interest and payment to settle zero-coupon bond attributable to accreted interest of debt discount and debt instrument with insignificant coupon interest rate in relation to effective interest rate of borrowing attributable to accreted interest of debt discount; classified as operating and investing activities. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 2 -URI https://asc.fasb.org/extlink&oid=126999549&loc=d3e4297-108586 + Details
Name: | us-gaap_InterestPaid
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The cash inflow from a borrowing with the highest claim on the assets of the entity in case of bankruptcy or liquidation (with maturities initially due after one year or beyond the operating cycle, if longer). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 14 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126954810&loc=d3e3255-108585 + Details
Name: | us-gaap_ProceedsFromIssuanceOfSeniorLongTermDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The cash outflow for debt initially having maturity due after one year or beyond the normal operating cycle, if longer. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 15 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126954810&loc=d3e3291-108585 + Details
Name: | us-gaap_RepaymentsOfLongTermDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=us-gaap_ConvertibleSubordinatedDebtMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=us-gaap_FederalHomeLoanBankAdvancesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=us-gaap_SeniorNotesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=mtg_FivePointSevenFivePercentSeniorNotesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=us-gaap_UsTreasuryUstInterestRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=mtg_FivePointTwoFivePercentSeniorNotesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentRedemptionPeriodAxis=us-gaap_DebtInstrumentRedemptionPeriodOneMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentRedemptionPeriodAxis=us-gaap_DebtInstrumentRedemptionPeriodTwoMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentRedemptionPeriodAxis=us-gaap_DebtInstrumentRedemptionPeriodThreeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentRedemptionPeriodAxis=us-gaap_DebtInstrumentRedemptionPeriodFourMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |