XML 84 R40.htm IDEA: XBRL DOCUMENT
v3.24.3

Stockholders' Equity - Preferred Stock (Details) | Sep. 30, 2024 vote $ / shares | Dec. 31, 2023 $ / shares
--- | --- | ---
Stockholders' Equity (Deficit) |  |
Preferred stock, par value (in dollars per share) | $ 0.0001 | $ 0.0001
Convertible Series A and B Preferred Stock |  |
Stockholders' Equity (Deficit) |  |
Preferred stock, par value (in dollars per share) | $ 0.0001 |
Preferred stock conversion ratio (in shares) | 1 |
Preferred shares number voting rights | vote | 0 |

X
- Definition Number of voting rights of preferred stock. Includes eligibility to vote and votes per share owned. Include also, if any, unusual voting rights. + References No definition available. + Details
Name: | mdgl_PreferredStockNumberOfVotingRights
Namespace Prefix: | mdgl_
Data Type: | xbrli:integerItemType
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 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 Number of common shares issuable upon conversion for each share of preferred stock to be converted. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 13 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481112/505-10-50-13 + Details
Name: | us-gaap_PreferredStockConvertibleConversionRatio
Namespace Prefix: | us-gaap_
Data Type: | xbrli:pureItemType
Balance Type: | na
Period Type: | instant

X
- Definition Face amount or stated value per share of preferred stock nonredeemable or redeemable solely at the option of the issuer. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 13 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481112/505-10-50-13 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(28)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_PreferredStockParOrStatedValuePerShare
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Details
Name: | us-gaap_StatementClassOfStockAxis=mdgl_ConvertibleSeriesAAndBPreferredStockMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |