<?xml version='1.0' encoding='UTF-8'?>
<FilingSummary>
  <Version>3.3.0.814</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>160</ContextCount>
  <ElementCount>259</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>53</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>8</UnitCount>
  <MyReports>
    <Report instance="mkto-20150930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>00090 - Document - Document and Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marketo.com/role/DocumentDocumentAndEntityInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="mkto-20150930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>00100 - Statement - Condensed Consolidated Balance Sheets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marketo.com/role/StatementCondensedConsolidatedBalanceSheets</Role>
      <ShortName>Condensed Consolidated Balance Sheets</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="mkto-20150930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>00200 - Statement - Condensed Consolidated Statements of Operations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marketo.com/role/StatementCondensedConsolidatedStatementsOfOperations</Role>
      <ShortName>Condensed Consolidated Statements of Operations</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="mkto-20150930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>00300 - Statement - Condensed Consolidated Statements of Comprehensive Loss</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marketo.com/role/StatementCondensedConsolidatedStatementsOfComprehensiveLoss</Role>
      <ShortName>Condensed Consolidated Statements of Comprehensive Loss</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="mkto-20150930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>00400 - Statement - Condensed Consolidated Statements of Cash Flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marketo.com/role/StatementCondensedConsolidatedStatementsOfCashFlows</Role>
      <ShortName>Condensed Consolidated Statements of Cash Flows</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="mkto-20150930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>10101 - Disclosure - The Company and Summary of Significant Accounting Policies and Estimates</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marketo.com/role/DisclosureCompanyAndSummaryOfSignificantAccountingPoliciesAndEstimates</Role>
      <ShortName>The Company and Summary of Significant Accounting Policies and Estimates</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="mkto-20150930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>10201 - Disclosure - Joint Venture</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marketo.com/role/DisclosureJointVenture</Role>
      <ShortName>Joint Venture</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="mkto-20150930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>10301 - Disclosure - Fair Value of Financial Instruments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marketo.com/role/DisclosureFairValueOfFinancialInstruments</Role>
      <ShortName>Fair Value of Financial Instruments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="mkto-20150930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>10401 - Disclosure - Balance Sheet Components</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marketo.com/role/DisclosureBalanceSheetComponents</Role>
      <ShortName>Balance Sheet Components</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="mkto-20150930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>10501 - Disclosure - Goodwill and Intangible Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marketo.com/role/DisclosureGoodwillAndIntangibleAssets</Role>
      <ShortName>Goodwill and Intangible Assets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="mkto-20150930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>10601 - Disclosure - Stockholders' Equity and Redeemable Noncontrolling Interests</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marketo.com/role/DisclosureStockholdersEquityAndRedeemableNoncontrollingInterests</Role>
      <ShortName>Stockholders' Equity and Redeemable Noncontrolling Interests</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="mkto-20150930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>10701 - Disclosure - Credit Facility</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marketo.com/role/DisclosureCreditFacility</Role>
      <ShortName>Credit Facility</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="mkto-20150930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>10801 - Disclosure - Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marketo.com/role/DisclosureCommitmentsAndContingencies</Role>
      <ShortName>Commitments and Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="mkto-20150930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>10901 - Disclosure - Stockholders' Equity and Stock Based Compensation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marketo.com/role/DisclosureStockholdersEquityAndStockBasedCompensation</Role>
      <ShortName>Stockholders' Equity and Stock Based Compensation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="mkto-20150930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>11001 - Disclosure - Net Loss per Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marketo.com/role/DisclosureNetLossPerShare</Role>
      <ShortName>Net Loss per Share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="mkto-20150930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>11101 - Disclosure - Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marketo.com/role/DisclosureIncomeTaxes</Role>
      <ShortName>Income Taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="mkto-20150930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>11201 - Disclosure - Segment Information and Information about Geographic Areas</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marketo.com/role/DisclosureSegmentInformationAndInformationAboutGeographicAreas</Role>
      <ShortName>Segment Information and Information about Geographic Areas</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="mkto-20150930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>20102 - Disclosure - The Company and Summary of Significant Accounting Policies and Estimates (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marketo.com/role/DisclosureCompanyAndSummaryOfSignificantAccountingPoliciesAndEstimatesPolicies</Role>
      <ShortName>The Company and Summary of Significant Accounting Policies and Estimates (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.marketo.com/role/DisclosureCompanyAndSummaryOfSignificantAccountingPoliciesAndEstimates</ParentRole>
      <Position>18</Position>
    </Report>
    <Report instance="mkto-20150930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>30203 - Disclosure - Joint Venture (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marketo.com/role/DisclosureJointVentureTables</Role>
      <ShortName>Joint Venture (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.marketo.com/role/DisclosureJointVenture</ParentRole>
      <Position>19</Position>
    </Report>
    <Report instance="mkto-20150930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>30303 - Disclosure - Fair Value of Financial Instruments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marketo.com/role/DisclosureFairValueOfFinancialInstrumentsTables</Role>
      <ShortName>Fair Value of Financial Instruments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.marketo.com/role/DisclosureFairValueOfFinancialInstruments</ParentRole>
      <Position>20</Position>
    </Report>
    <Report instance="mkto-20150930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>30403 - Disclosure - Balance Sheet Components (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marketo.com/role/DisclosureBalanceSheetComponentsTables</Role>
      <ShortName>Balance Sheet Components (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.marketo.com/role/DisclosureBalanceSheetComponents</ParentRole>
      <Position>21</Position>
    </Report>
    <Report instance="mkto-20150930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>30503 - Disclosure - Goodwill and Intangible Assets (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marketo.com/role/DisclosureGoodwillAndIntangibleAssetsTables</Role>
      <ShortName>Goodwill and Intangible Assets (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.marketo.com/role/DisclosureGoodwillAndIntangibleAssets</ParentRole>
      <Position>22</Position>
    </Report>
    <Report instance="mkto-20150930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>30603 - Disclosure - Stockholders Equity and Redeemable Noncontrolling Interests (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marketo.com/role/DisclosureStockholdersEquityAndRedeemableNoncontrollingInterestsTables</Role>
      <ShortName>Stockholders Equity and Redeemable Noncontrolling Interests (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="mkto-20150930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>30803 - Disclosure - Commitments and Contingencies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marketo.com/role/DisclosureCommitmentsAndContingenciesTables</Role>
      <ShortName>Commitments and Contingencies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.marketo.com/role/DisclosureCommitmentsAndContingencies</ParentRole>
      <Position>24</Position>
    </Report>
    <Report instance="mkto-20150930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>30903 - Disclosure - Stockholders' Equity and Stock Based Compensation (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marketo.com/role/DisclosureStockholdersEquityAndStockBasedCompensationTables</Role>
      <ShortName>Stockholders' Equity and Stock Based Compensation (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.marketo.com/role/DisclosureStockholdersEquityAndStockBasedCompensation</ParentRole>
      <Position>25</Position>
    </Report>
    <Report instance="mkto-20150930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>31003 - Disclosure - Net Loss per Share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marketo.com/role/DisclosureNetLossPerShareTables</Role>
      <ShortName>Net Loss per Share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.marketo.com/role/DisclosureNetLossPerShare</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="mkto-20150930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>31203 - Disclosure - Segment Information and Information about Geographic Areas (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marketo.com/role/DisclosureSegmentInformationAndInformationAboutGeographicAreasTables</Role>
      <ShortName>Segment Information and Information about Geographic Areas (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.marketo.com/role/DisclosureSegmentInformationAndInformationAboutGeographicAreas</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="mkto-20150930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>40201 - Disclosure - Joint Venture (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marketo.com/role/DisclosureJointVentureDetails</Role>
      <ShortName>Joint Venture (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.marketo.com/role/DisclosureJointVentureTables</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="mkto-20150930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>40301 - Disclosure - Fair Value of Financial Instruments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marketo.com/role/DisclosureFairValueOfFinancialInstrumentsDetails</Role>
      <ShortName>Fair Value of Financial Instruments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.marketo.com/role/DisclosureFairValueOfFinancialInstrumentsTables</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="mkto-20150930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>40401 - Disclosure - Balance Sheet Components (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marketo.com/role/DisclosureBalanceSheetComponentsDetails</Role>
      <ShortName>Balance Sheet Components (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.marketo.com/role/DisclosureBalanceSheetComponentsTables</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="mkto-20150930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>40402 - Disclosure - Balance Sheet Components (Details 2)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marketo.com/role/DisclosureBalanceSheetComponentsDetails2</Role>
      <ShortName>Balance Sheet Components (Details 2)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.marketo.com/role/DisclosureBalanceSheetComponentsTables</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="mkto-20150930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>40501 - Disclosure - Goodwill and Intangible Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marketo.com/role/DisclosureGoodwillAndIntangibleAssetsDetails</Role>
      <ShortName>Goodwill and Intangible Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.marketo.com/role/DisclosureGoodwillAndIntangibleAssetsTables</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="mkto-20150930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>40601 - Disclosure - Stockholders' Equity and Redeemable Noncontrolling Interests (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marketo.com/role/DisclosureStockholdersEquityAndRedeemableNoncontrollingInterestsDetails</Role>
      <ShortName>Stockholders' Equity and Redeemable Noncontrolling Interests (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.marketo.com/role/DisclosureStockholdersEquityAndRedeemableNoncontrollingInterests</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="mkto-20150930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>40701 - Disclosure - Credit Facility (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marketo.com/role/DisclosureCreditFacilityDetails</Role>
      <ShortName>Credit Facility (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.marketo.com/role/DisclosureCreditFacility</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="mkto-20150930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>40801 - Disclosure - Commitments and Contingencies (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marketo.com/role/DisclosureCommitmentsAndContingenciesDetails</Role>
      <ShortName>Commitments and Contingencies (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.marketo.com/role/DisclosureCommitmentsAndContingenciesTables</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="mkto-20150930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>40901 - Disclosure - Stockholders' Equity and Stock Based Compensation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marketo.com/role/DisclosureStockholdersEquityAndStockBasedCompensationDetails</Role>
      <ShortName>Stockholders' Equity and Stock Based Compensation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.marketo.com/role/DisclosureStockholdersEquityAndStockBasedCompensationTables</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="mkto-20150930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>40902 - Disclosure - Stockholders' Equity and Stock Based Compensation (Details 1)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marketo.com/role/DisclosureStockholdersEquityAndStockBasedCompensationDetails1</Role>
      <ShortName>Stockholders' Equity and Stock Based Compensation (Details 1)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.marketo.com/role/DisclosureStockholdersEquityAndStockBasedCompensationTables</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="mkto-20150930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>40903 - Disclosure - Stockholders' Equity and Stock Based Compensation (Details2)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marketo.com/role/DisclosureStockholdersEquityAndStockBasedCompensationDetails2</Role>
      <ShortName>Stockholders' Equity and Stock Based Compensation (Details2)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.marketo.com/role/DisclosureStockholdersEquityAndStockBasedCompensationTables</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="mkto-20150930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>40904 - Disclosure - Stockholders' Equity and Stock Based Compensation (Details 3)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marketo.com/role/DisclosureStockholdersEquityAndStockBasedCompensationDetails3</Role>
      <ShortName>Stockholders' Equity and Stock Based Compensation (Details 3)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.marketo.com/role/DisclosureStockholdersEquityAndStockBasedCompensationTables</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="mkto-20150930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>41001 - Disclosure - Net Loss per Share (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marketo.com/role/DisclosureNetLossPerShareDetails</Role>
      <ShortName>Net Loss per Share (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.marketo.com/role/DisclosureNetLossPerShareTables</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="mkto-20150930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>41101 - Disclosure - Income Taxes (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marketo.com/role/DisclosureIncomeTaxesDetails</Role>
      <ShortName>Income Taxes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.marketo.com/role/DisclosureIncomeTaxes</ParentRole>
      <Position>41</Position>
    </Report>
    <Report instance="mkto-20150930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>41201 - Disclosure - Segment Information and Information about Geographic Areas (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marketo.com/role/DisclosureSegmentInformationAndInformationAboutGeographicAreasDetails</Role>
      <ShortName>Segment Information and Information about Geographic Areas (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.marketo.com/role/DisclosureSegmentInformationAndInformationAboutGeographicAreasTables</ParentRole>
      <Position>42</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <Logs>
    <Log type="Info">In ''Condensed Consolidated Balance Sheets'', column(s) 3, 4 are contained in other reports, so were removed by flow through suppression.</Log>
    <Log type="Info">In ''Condensed Consolidated Statements of Cash Flows'', column(s) 1, 2 are contained in other reports, so were removed by flow through suppression.</Log>
  </Logs>
  <InputFiles>
    <File>mkto-20150930.xml</File>
    <File>mkto-20150930_cal.xml</File>
    <File>mkto-20150930_def.xml</File>
    <File>mkto-20150930_lab.xml</File>
    <File>mkto-20150930_pre.xml</File>
    <File>mkto-20150930.xsd</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies/>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>

