XML 42 R27.htm IDEA: XBRL DOCUMENT
v3.23.2

Accrued Liabilities (Details) - USD ($) $ in Thousands | Jun. 30, 2023 | Dec. 31, 2022
--- | --- | ---
Accrued Liabilities, Current [Abstract] |  |
Contract research organization costs | $ 58,050 | $ 53,119
Other clinical study related costs | 3,605 | 6,582
Manufacturing and drug supply | 3,556 | 11,262
Compensation and benefits | 5,453 | 14,864
Professional fees | 9,494 | 4,867
Other | 1,603 | 767
Total accrued liabilities | $ 81,761 | $ 91,461

X
- Definition Accrued Compensation And Benefits, Current. + References No definition available. + Details
Name: | mdgl_AccruedCompensationAndBenefitsCurrent
Namespace Prefix: | mdgl_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Accrued Contract Research Costs, Current. + References No definition available. + Details
Name: | mdgl_AccruedContractResearchCostsCurrent
Namespace Prefix: | mdgl_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Accrued manufacturing and drug supply Current. + References No definition available. + Details
Name: | mdgl_AccruedManufacturingAndDrugSupplyCurrent
Namespace Prefix: | mdgl_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Accrued other clinical study related costs current. + References No definition available. + Details
Name: | mdgl_AccruedOtherClinicalStudyRelatedCostsCurrent
Namespace Prefix: | mdgl_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Carrying value as of the balance sheet date of obligations incurred and payable, pertaining to costs that are statutory in nature, are incurred on contractual obligations, or accumulate over time and for which invoices have not yet been received or will not be rendered. Examples include taxes, interest, rent and utilities. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.20) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_AccruedLiabilitiesCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- References No definition available. + Details
Name: | us-gaap_AccruedLiabilitiesCurrentAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Carrying value as of the balance sheet date of obligations incurred through that date and payable for professional fees, such as for legal and accounting services received. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.20) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_AccruedProfessionalFeesCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of expenses incurred but not yet paid classified as other, due within one year or the normal operating cycle, if longer. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.20) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_OtherAccruedLiabilitiesCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant