XML 37 R22.htm IDEA: XBRL DOCUMENT
v3.23.2

Stock-based Compensation (Tables) | 6 Months Ended
--- | ---
Jun. 30, 2023
Share-based Payment Arrangement [Abstract] |
Summary of stock option activity | The following table summarizes stock option activity during the six months ended June 30, 2023:
|  | Shares |  |  | Weighted average exercise price |
Outstanding at January 1, 2023 |  |  | 2,857,054 |  |  | $ | 81.78 |
Options granted |  |  | 5,205 |  |  |  | 283.08 |
Options exercised |  |  | (270,609 | ) |  |  | 89.26 |
Options cancelled |  |  | (8,110 | ) |  |  | 84.12 |
Outstanding at June 30, 2023 |  |  | 2,583,540 |  |  | $ | 81.40 |
Exercisable at June 30, 2023 |  |  | 1,719,944 |  |  | $ | 76.62 |
Schedule of stock-based compensation expense | Stock-based compensation expense during the six months ended June 30, 2023 and 2022 was as follows (in thousands):
|  | Three Months Ended June 30, |  |  | Six Months Ended June 30, |
|  | 2023 |  |  | 2022 |  |  | 2023 |  |  | 2022 |
Stock-based compensation expense by type of award: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Stock options |  | $ | 7,431 |  |  | $ | 7,944 |  |  | $ | 16,029 |  |  | $ | 15,421 |
Restricted stock units |  |  | 3,542 |  |  |  | — |  |  |  | 6,194 |  |  |  | — |
Total stock-based compensation expense |  | $ | 10,973 |  |  | $ | 7,944 |  |  | $ | 22,223 |  |  | $ | 15,421 |
Effect of stock-based compensation expense by line item: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Research and development |  | $ | 5,184 |  |  | $ | 3,301 |  |  | $ | 10,570 |  |  | $ | 6,488 |
General and administrative |  |  | 5,789 |  |  |  | 4,643 |  |  |  | 11,653 |  |  |  | 8,933 |
Total stock-based compensation expense included in net loss |  | $ | 10,973 |  |  | $ | 7,944 |  |  | $ | 22,223 |  |  | $ | 15,421 |

X
- Definition Tabular disclosure of the allocation of equity-based compensation costs to a given line item on the income statement for the period. This may include the amount of total share-based compensation cost, including the amounts attributable to each share-based compensation plan and any related tax benefits. It includes the reporting line for the costs expensed. + References No definition available. + Details
Name: | mdgl_ScheduleOfShareBasedCompensationExpenseAllocationOfCompensationCostsAndRecognizedPeriodCostsTableTextBlock
Namespace Prefix: | mdgl_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

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

X
- Definition Tabular disclosure for stock option plans. Includes, but is not limited to, outstanding awards at beginning and end of year, grants, exercises, forfeitures, and weighted-average grant date fair value. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c)(1) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480429/718-10-50-2 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (d) -SubTopic 10 -Topic 718 -Publisher FASB -URI https://asc.fasb.org//1943274/2147480429/718-10-50-2 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (e) -SubTopic 10 -Topic 718 -Publisher FASB -URI https://asc.fasb.org//1943274/2147480429/718-10-50-2 + Details
Name: | us-gaap_ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration