v3.19.3.a.u2

CONSOLIDATED STATEMENTS OF REDEEMABLE CONVERTIBLE PREFERRED STOCK AND STOCKHOLDERS’ EQUITY (DEFICIT) - USD ($) $ in Thousands | Total | Series G Redeemable Convertible Preferred Stock | Series D Redeemable Convertible Preferred Stock | Series E Redeemable Convertible Preferred Stock | Redeemable Convertible Preferred Stock | Redeemable Convertible Preferred Stock Series G Redeemable Convertible Preferred Stock | Redeemable Convertible Preferred Stock Series H Redeemable Convertible Preferred Stock | Redeemable Convertible Preferred Stock Series D Redeemable Convertible Preferred Stock | Redeemable Convertible Preferred Stock Series E Redeemable Convertible Preferred Stock | Common Stock | Additional Paid-In Capital | Additional Paid-In Capital Series G Redeemable Convertible Preferred Stock | Additional Paid-In Capital Series D Redeemable Convertible Preferred Stock | Additional Paid-In Capital Series E Redeemable Convertible Preferred Stock | Accumulated Other Comprehensive Gain (Loss) | Accumulated Deficit
--- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | ---
Balance at beginning of period (in shares) at Dec. 31, 2016 |  |  |  |  | 448,686,791 |  |  |  |  |  |  |  |  |  |  |
Balance at beginning of period at Dec. 31, 2016 |  |  |  |  | $ 1,176,661 |  |  |  |  |  |  |  |  |  |  |
Balance at end of period (in shares) at Dec. 31, 2017 | 448,686,791 |  | 63,291,156 | 81,428,340 | 448,686,791 | 0 | 0 | 63,291,156 | 81,428,340 |  |  |  |  |  |  |
Balance at end of period at Dec. 31, 2017 | $ 1,176,661 |  | $ 164,059 | $ 501,880 | $ 1,176,661 | $ 0 | $ 0 | $ 164,059 | $ 501,880 |  |  |  |  |  |  |
Balance at beginning of period (in shares) at Dec. 31, 2016 |  |  |  |  |  |  |  |  |  | 63,541,688 |  |  |  |  |  |
Balance at beginning of period at Dec. 31, 2016 | (334,810) |  |  |  |  |  |  |  |  | $ 6 | $ 31,305 |  |  |  | $ (403) | $ (365,718)
Increase (Decrease) in Stockholders' Equity [Roll Forward] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Vesting of restricted common stock (in shares) |  |  |  |  |  |  |  |  |  | 1,644,769 |  |  |  |  |  |
Exercise of options to purchase common stock (in shares) |  |  |  |  |  |  |  |  |  | 20,542 |  |  |  |  |  |
Exercise of options to purchase common stock | 212 |  |  |  |  |  |  |  |  |  | 212 |  |  |  |  |
Redeemable convertible preferred stock issuance costs | (152) |  |  |  |  |  |  |  |  |  | (152) |  |  |  |  |
Stock-based compensation | 40,055 |  |  |  |  |  |  |  |  |  | 40,314 |  |  |  |  | (259)
Unrealized gain (loss) on marketable securities | (754) |  |  |  |  |  |  |  |  |  |  |  |  |  | (754) |
Net loss | (255,916) |  |  |  |  |  |  |  |  |  |  |  |  |  |  | (255,916)
Balance at end of period (in shares) at Dec. 31, 2017 |  |  |  |  |  |  |  |  |  | 65,206,999 |  |  |  |  |  |
Balance at end of period at Dec. 31, 2017 | (551,365) |  |  |  |  |  |  |  |  | $ 6 | 71,679 |  |  |  | (1,157) | (621,893)
Increase (Decrease) in Temporary Equity [Roll Forward] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Issuance of redeemable convertible preferred stock, net of issuance costs (in shares) |  |  |  |  |  | 55,666,004 | 5,000,000 |  |  |  |  |  |  |  |  |
Issuance of redeemable convertible preferred stock, net of issuance costs |  | $ 51 |  |  |  | $ 549,413 | $ 111,546 |  |  |  |  | $ 51 |  |  |  |
Repurchase of redeemable convertible preferred stock (in shares) |  |  |  |  |  |  |  | (269,180) | (544,100) |  |  |  |  |  |  |
Repurchase of redeemable convertible preferred stock |  |  | $ (2,009) | $ (2,118) |  |  |  | $ (704) | $ (3,355) |  |  |  | $ (2,009) | $ (2,118) |  |
Conversion of redeemable convertible preferred stock into common stock (in shares) |  |  |  |  | (508,539,515) | (55,666,004) | (5,000,000) | (63,021,976) | (80,884,240) | (236,012,913) |  |  |  |  |  |
Conversion of redeemable convertible preferred stock into common stock | $ 1,833,561 |  |  |  | $ (1,833,561) | $ (549,413) | $ (111,546) | $ (163,355) | $ (498,525) | $ 24 | 1,833,537 |  |  |  |  |
Balance at end of period (in shares) at Dec. 31, 2018 | 0 |  |  |  | 0 | 0 | 0 | 0 | 0 |  |  |  |  |  |  |
Balance at end of period at Dec. 31, 2018 |  |  |  |  | $ 0 | $ 0 | $ 0 | $ 0 | $ 0 |  |  |  |  |  |  |
Increase (Decrease) in Stockholders' Equity [Roll Forward] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Vesting of restricted common stock (in shares) |  |  |  |  |  |  |  |  |  | 856,135 |  |  |  |  |  |
Exercise of options to purchase common stock (in shares) |  |  |  |  |  |  |  |  |  | 446,864 |  |  |  |  |  |
Exercise of options to purchase common stock | $ 1,427 |  |  |  |  |  |  |  |  |  | 1,427 |  |  |  |  |
Conversion of redeemable convertible preferred stock into common stock (in shares) |  |  |  |  | 508,539,515 | 55,666,004 | 5,000,000 | 63,021,976 | 80,884,240 | 236,012,913 |  |  |  |  |  |
Conversion of redeemable convertible preferred stock into common stock | 1,833,561 |  |  |  | $ (1,833,561) | $ (549,413) | $ (111,546) | $ (163,355) | $ (498,525) | $ 24 | 1,833,537 |  |  |  |  |
Proceeds of initial public offering, net of issuance costs of $41,322 (in shares) |  |  |  |  |  |  |  |  |  | 26,275,993 |  |  |  |  |  |
Proceeds of initial public offering, net of issuance costs of $41,322 | 563,026 |  |  |  |  |  |  |  |  | $ 3 | 563,023 |  |  |  |  |
Stock-based compensation | 72,565 |  |  |  |  |  |  |  |  |  | 72,565 |  |  |  |  |
Unrealized gain (loss) on marketable securities | (163) |  |  |  |  |  |  |  |  |  |  |  |  |  | (163) |
Net loss | (384,734) |  |  |  |  |  |  |  |  |  |  |  |  |  |  | (384,734)
Balance at end of period (in shares) at Dec. 31, 2018 |  |  |  |  |  |  |  |  |  | 328,798,904 |  |  |  |  |  |
Balance at end of period at Dec. 31, 2018 | $ 1,530,241 |  |  |  |  |  |  |  |  | $ 33 | 2,538,155 |  |  |  | (1,320) | (1,006,627)
Balance at end of period (in shares) at Dec. 31, 2019 | 0 |  |  |  | 0 |  |  |  |  |  |  |  |  |  |  |
Balance at end of period at Dec. 31, 2019 |  |  |  |  | $ 0 |  |  |  |  |  |  |  |  |  |  |
Increase (Decrease) in Stockholders' Equity [Roll Forward] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Vesting of restricted common stock (in shares) |  |  |  |  |  |  |  |  |  | 621,432 |  |  |  |  |  |
Exercise of options to purchase common stock (in shares) | 6,945,306 |  |  |  |  |  |  |  |  | 6,945,306 |  |  |  |  |  |
Exercise of options to purchase common stock | $ 47,259 |  |  |  |  |  |  |  |  | $ 1 | 47,258 |  |  |  |  |
Purchase of common stock under employee stock purchase plan (in shares) |  |  |  |  |  |  |  |  |  | 171,343 |  |  |  |  |  |
Purchase of common stock under employee stock purchase plan | 2,891 |  |  |  |  |  |  |  |  |  | 2,891 |  |  |  |  |
Stock-based compensation | 81,122 |  |  |  |  |  |  |  |  |  | 81,122 |  |  |  |  |
Unrealized gain (loss) on marketable securities | 3,124 |  |  |  |  |  |  |  |  |  |  |  |  |  | 3,124 |
Net loss | (514,021) |  |  |  |  |  |  |  |  |  |  |  |  |  |  | (514,021)
Balance at end of period (in shares) at Dec. 31, 2019 |  |  |  |  |  |  |  |  |  | 336,536,985 |  |  |  |  |  |
Balance at end of period at Dec. 31, 2019 | $ 1,174,810 |  |  |  |  |  |  |  |  | $ 34 | $ 2,669,426 |  |  |  | $ 1,804 | $ (1,496,454)

X
- Definition Reclassifications Of Temporary To Permanent Equity, Shares + References No definition available. + Details
Name: | mrna_ReclassificationsOfTemporaryToPermanentEquityShares
Namespace Prefix: | mrna_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Temporary Equity, Stock Issued During Period, Shares, New Issues + References No definition available. + Details
Name: | mrna_TemporaryEquityStockIssuedDuringPeriodSharesNewIssues
Namespace Prefix: | mrna_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Temporary Equity, Stock Repurchased During Period, Shares + References No definition available. + Details
Name: | mrna_TemporaryEquityStockRepurchasedDuringPeriodShares
Namespace Prefix: | mrna_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Temporary Equity, Stock Repurchased During Period, Value + References No definition available. + Details
Name: | mrna_TemporaryEquityStockRepurchasedDuringPeriodValue
Namespace Prefix: | mrna_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of increase to additional paid-in capital (APIC) for recognition of cost for award under share-based payment arrangement. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 20 -Section 55 -Paragraph 12 -URI http://asc.fasb.org/extlink&oid=118258462&loc=d3e11149-113907 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=116856206&loc=d3e5047-113901 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 20 -Section 55 -Paragraph 13 -URI http://asc.fasb.org/extlink&oid=118258462&loc=d3e11178-113907 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 35 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=116855982&loc=d3e4534-113899 + Details
Name: | us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of decrease in additional paid in capital (APIC) resulting from direct costs associated with issuing stock. Includes, but is not limited to, legal and accounting fees and direct costs associated with stock issues under a shelf registration. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=109259400&loc=d3e21463-112644 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770 + Details
Name: | us-gaap_AdjustmentsToAdditionalPaidInCapitalStockIssuedIssuanceCosts
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period. + References No definition available. + Details
Name: | us-gaap_IncreaseDecreaseInStockholdersEquityRollForward
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period. + References No definition available. + Details
Name: | us-gaap_IncreaseDecreaseInTemporaryEquityRollForward
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The portion of profit or loss for the period, net of income taxes, which is attributable to the parent. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 1A -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=118930883&loc=SL7669619-108580 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 220 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-04(22)) -URI http://asc.fasb.org/extlink&oid=116637391&loc=SL114874048-224260 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 1B -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=118930883&loc=SL7669625-108580 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 220 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-04(18)) -URI http://asc.fasb.org/extlink&oid=116637232&loc=SL114874131-224263 Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03(20)) -URI http://asc.fasb.org/extlink&oid=116634182&loc=SL114868664-224227 Reference 6: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -URI http://asc.fasb.org/extlink&oid=118932676&loc=d3e3602-108585 Reference 7: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257 + Details
Name: | us-gaap_NetIncomeLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount after tax of other comprehensive income (loss) attributable to parent entity. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 1B -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=118930883&loc=SL7669625-108580 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 810 -SubTopic 10 -Section 50 -Paragraph 1A -Subparagraph (c)(3) -URI http://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 810 -SubTopic 10 -Section 45 -Paragraph 20 -URI http://asc.fasb.org/extlink&oid=108774443&loc=SL4569643-111683 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 1A -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=118930883&loc=SL7669619-108580 Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 810 -SubTopic 10 -Section 45 -Paragraph 19 -URI http://asc.fasb.org/extlink&oid=108774443&loc=SL4569616-111683 + Details
Name: | us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The difference between the carrying amount of a financial instrument subject to a registration payment arrangement recorded as temporary equity prior to adoption of FSP EITF 00-19-2 and the carrying amount reclassified to permanent equity upon the adoption of FSP EITF 00-19-2. Recorded as a cumulative effect adjustment to the beginning balance of retained earnings. Does not apply to registration payment arrangements that are no longer outstanding upon adoption of FSP EITF 00-19-2. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 40 -Section 50 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=6445032&loc=d3e90193-114008 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 480 -SubTopic 10 -Section S99 -Paragraph 3A -URI http://asc.fasb.org/extlink&oid=65877616&loc=SL6540498-122764 + Details
Name: | us-gaap_ReclassificationsOfTemporaryToPermanentEquity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Number of shares issued which are neither cancelled nor held in the treasury. + References No definition available. + Details
Name: | us-gaap_SharesOutstanding
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number of shares issued during the period as a result of an employee stock purchase plan. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=109259400&loc=d3e21463-112644 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770 Reference 3: 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(28)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 4: 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(29)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of new stock issued during the period. + References Reference 1: 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(29)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=109259400&loc=d3e21463-112644 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770 Reference 4: 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(28)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_StockIssuedDuringPeriodSharesNewIssues
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Total number of shares issued during the period, including shares forfeited, as a result of Restricted Stock Awards. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=109259400&loc=d3e21463-112644 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770 + Details
Name: | us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardGross
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of share options (or share units) exercised during the current period. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c)(1)(iv)(2) -URI http://asc.fasb.org/extlink&oid=116856206&loc=d3e5070-113901 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770 Reference 3: 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(28)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 4: 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(29)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=109259400&loc=d3e21463-112644 + Details
Name: | us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Aggregate change in value for stock issued during the period as a result of employee stock purchase plan. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770 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(28)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 3: 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(29)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=109259400&loc=d3e21463-112644 + Details
Name: | us-gaap_StockIssuedDuringPeriodValueEmployeeStockPurchasePlan
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Equity impact of the value of new stock issued during the period. Includes shares issued in an initial public offering or a secondary public offering. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=109259400&loc=d3e21463-112644 Reference 3: 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(29)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 4: 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(28)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_StockIssuedDuringPeriodValueNewIssues
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Value of stock issued as a result of the exercise of stock options. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=109259400&loc=d3e21463-112644 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770 Reference 3: 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.29-31) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Total of all stockholders' equity (deficit) items, net of receivables from officers, directors, owners, and affiliates of the entity which are attributable to the parent. The amount of the economic entity's stockholders' equity attributable to the parent excludes the amount of stockholders' equity which is allocable to that ownership interest in subsidiary equity which is not attributable to the parent (noncontrolling interest, minority interest). This excludes temporary equity and is sometimes called permanent equity. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SAB Topic 4.E) -URI http://asc.fasb.org/extlink&oid=27010918&loc=d3e74512-122707 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(31)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 3: 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(29)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 4: 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(30)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_StockholdersEquity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Carrying amount, attributable to parent, of an entity's issued and outstanding stock which is not included within permanent equity. Temporary equity is a security with redemption features that are outside the control of the issuer, is not classified as an asset or liability in conformity with GAAP, and is not mandatorily redeemable. Includes any type of security that is redeemable at a fixed or determinable price or on a fixed or determinable date or dates, is redeemable at the option of the holder, or has conditions for redemption which are not solely within the control of the issuer. Includes stock with a put option held by an ESOP and stock redeemable by a holder only in the event of a change in control of the issuer. + References No definition available. + Details
Name: | us-gaap_TemporaryEquityCarryingAmountAttributableToParent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The number of securities classified as temporary equity that have been issued and are held by the entity's shareholders. Securities outstanding equals securities issued minus securities held in treasury. Temporary equity is a security with redemption features that are outside the control of the issuer, is not classified as an asset or liability in conformity with GAAP, and is not mandatorily redeemable. Includes any type of security that is redeemable at a fixed or determinable price or on a fixed or determinable date or dates, is redeemable at the option of the holder, or has conditions for redemption which are not solely within the control of the issuer. If convertible, the issuer does not control the actions or events necessary to issue the maximum number of shares that could be required to be delivered under the conversion option if the holder exercises the option to convert the stock to another class of equity. If the security is a warrant or a rights issue, the warrant or rights issue is considered to be temporary equity if the issuer cannot demonstrate that it would be able to deliver upon the exercise of the option by the holder in all cases. Includes stock with put option held by ESOP and stock redeemable by holder only in the event of a change in control of the issuer. + References Reference 1: 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(27)(b)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_TemporaryEquitySharesOutstanding
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Value of new stock classified as temporary equity issued during the period. + References No definition available. + Details
Name: | us-gaap_TemporaryEquityStockIssuedDuringPeriodValueNewIssues
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration