XML 86 R42.htm IDEA: XBRL DOCUMENT
v3.24.3

Stockholders' Equity - At The Market Issuances (Details) - USD ($) $ in Millions | 1 Months Ended | 3 Months Ended | 9 Months Ended | 17 Months Ended | 36 Months Ended | 37 Months Ended
--- | --- | --- | --- | --- | --- | ---
Apr. 30, 2024 | Mar. 31, 2024 | May 31, 2023 | Jun. 30, 2021 | Sep. 30, 2024 | Sep. 30, 2024 | Sep. 30, 2024 | May 07, 2024 | May 31, 2024
Collaborative Arrangement and Arrangement Other than Collaborative [Line Items] |  |  |  |  |  |  |  |  |
Cash received on stock transaction after deduction of issuance costs | $ 85.9 | $ 574.0 |  |  |  |  |  |  |
2021 Sales Agreement |  |  |  |  |  |  |  |  |
Collaborative Arrangement and Arrangement Other than Collaborative [Line Items] |  |  |  |  |  |  |  |  |
Maximum aggregate offering price |  |  |  |  |  |  |  | $ 225.1 |
Number of shares issued in transaction (in shares) |  |  |  |  |  |  | 98,101 |  |
Sale of stock received on transaction, gross |  |  |  |  |  |  | $ 25.2 |  |
Cash received on stock transaction after deduction of issuance costs |  |  |  |  |  |  | $ 24.5 |  |
2021 Sales Agreement | Common stock |  |  |  |  |  |  |  |  |
Collaborative Arrangement and Arrangement Other than Collaborative [Line Items] |  |  |  |  |  |  |  |  |
Number of shares issued in transaction (in shares) |  |  |  |  |  |  |  |  | 1,334,044
2024 Sales Agreement |  |  |  |  |  |  |  |  |
Collaborative Arrangement and Arrangement Other than Collaborative [Line Items] |  |  |  |  |  |  |  |  |
Authorized capital |  |  |  |  |  |  |  | $ 300.0 |
2024 Sales Agreement And Sales Agreement Amendment |  |  |  |  |  |  |  |  |
Collaborative Arrangement and Arrangement Other than Collaborative [Line Items] |  |  |  |  |  |  |  |  |
Number of shares issued in transaction (in shares) |  |  |  |  | 0 | 0 |  |  |
Cowen & Co. LLC | Maximum | 2021 Sales Agreement |  |  |  |  |  |  |  |  |
Collaborative Arrangement and Arrangement Other than Collaborative [Line Items] |  |  |  |  |  |  |  |  |
Maximum aggregate offering price |  |  | $ 200.0 | $ 200.0 |  |  |  |  |

X
- Definition Represents the maximum aggregate offering price the entity may issue and sell shares of its common stock from time to time, at the entity's option, according to at-the-market issuance sales agreement with third party. + References No definition available. + Details
Name: | mdgl_CommonStockAggregateOfferingPrice
Namespace Prefix: | mdgl_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Sale Of Stock, Consideration Received On Transaction, Gross + References No definition available. + Details
Name: | mdgl_SaleOfStockConsiderationReceivedOnTransactionGross
Namespace Prefix: | mdgl_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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 Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 808 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479402/808-10-50-1 + Details
Name: | us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Cash received on stock transaction after deduction of issuance costs. + References No definition available. + Details
Name: | us-gaap_SaleOfStockConsiderationReceivedOnTransaction
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The number of shares issued or sold by the subsidiary or equity method investee per stock transaction. + References No definition available. + Details
Name: | us-gaap_SaleOfStockNumberOfSharesIssuedInTransaction
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of stock repurchase plan authorized. + References No definition available. + Details
Name: | us-gaap_StockRepurchaseProgramAuthorizedAmount1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | us-gaap_SubsidiarySaleOfStockAxis=mdgl_TwoThousandAndTwentyOneSalesAgreementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementEquityComponentsAxis=us-gaap_CommonStockMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_SubsidiarySaleOfStockAxis=mdgl_A2024SalesAgreementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_SubsidiarySaleOfStockAxis=mdgl_A2024SalesAgreementAndSalesAgreementAmendmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_CounterpartyNameAxis=mdgl_CowenCo.LlcMember
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: |