<?xml version="1.0" encoding="utf-8"?>
<FilingSummary xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Version>2.4.0.8</Version>
  <ProcessingTime />
  <ReportFormat>Html</ReportFormat>
  <ContextCount>147</ContextCount>
  <ElementCount>264</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>43</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>7</UnitCount>
  <MyReports>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>0000 - Document - Document and Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marketo.com/role/DocumentAndEntityInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
    </Report>
    <Report>
      <IsDefault>true</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>0010 - Statement - Condensed Consolidated Balance Sheets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marketo.com/role/BalanceSheet</Role>
      <ShortName>Condensed Consolidated Balance Sheets</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>0020 - Statement - Condensed Consolidated Statements of Operations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marketo.com/role/StatementOfIncome</Role>
      <ShortName>Condensed Consolidated Statements of Operations</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>0030 - Statement - Condensed Consolidated Statements of Comprehensive Loss</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marketo.com/role/StatementOfComprehensiveIncome</Role>
      <ShortName>Condensed Consolidated Statements of Comprehensive Loss</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>0040 - Statement - Condensed Consolidated Statements of Cash Flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marketo.com/role/CashFlows</Role>
      <ShortName>Condensed Consolidated Statements of Cash Flows</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>1010 - Disclosure - The Company and Summary of Significant Accounting Policies and Estimates</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marketo.com/role/DisclosureTheCompanyAndSummaryOfSignificantAccountingPoliciesAndEstimates</Role>
      <ShortName>The Company and Summary of Significant Accounting Policies and Estimates</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>1020 - Disclosure - Joint Venture</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marketo.com/role/DisclosureJointVenture</Role>
      <ShortName>Joint Venture</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>1030 - 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>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>1040 - Disclosure - Balance Sheet Components</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marketo.com/role/DisclosureBalanceSheetComponents</Role>
      <ShortName>Balance Sheet Components</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>1050 - Disclosure - Goodwill and Intangible Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marketo.com/role/DisclosureGoodwillAndIntangibleAssets</Role>
      <ShortName>Goodwill and Intangible Assets</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>1060 - Disclosure - Stockholders' Equity and Redeemable Non-controlling Interests</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marketo.com/role/DisclosureStockholdersEquityAndRedeemableNoncontrollingInterests</Role>
      <ShortName>Stockholders' Equity and Redeemable Non-controlling Interests</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>1070 - Disclosure - Credit Facility</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marketo.com/role/DisclosureCreditFacility</Role>
      <ShortName>Credit Facility</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>1080 - Disclosure - Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marketo.com/role/DisclosureCommitmentsAndContingencies</Role>
      <ShortName>Commitments and Contingencies</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>1090 - Disclosure - Stockholder's Equity and Stock Based Compensation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marketo.com/role/DisclosureStockholdersEquityAndStockBasedCompensation</Role>
      <ShortName>Stockholder's Equity and Stock Based Compensation</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>1100 - Disclosure - Net Loss per Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marketo.com/role/DisclosureNetLossPerShare</Role>
      <ShortName>Net Loss per Share</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>1110 - Disclosure - Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marketo.com/role/DisclosureIncomeTaxes</Role>
      <ShortName>Income Taxes</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>1120 - 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>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>2010 - Disclosure - The Company and Summary of Significant Accounting Policies and Estimates (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marketo.com/role/DisclosureTheCompanyAndSummaryOfSignificantAccountingPoliciesAndEstimatesPolicies</Role>
      <ShortName>The Company and Summary of Significant Accounting Policies and Estimates (Policies)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>3030 - 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>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>3040 - Disclosure - Balance Sheet Components (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marketo.com/role/DisclosureBalanceSheetComponentsTables</Role>
      <ShortName>Balance Sheet Components (Tables)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>3050 - 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>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>3060 - Disclosure - Stockholders' Equity and Redeemable Non-controlling Interests (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marketo.com/role/DisclosureStockholdersEquityAndRedeemableNoncontrollingInterestsTables</Role>
      <ShortName>Stockholders' Equity and Redeemable Non-controlling Interests (Tables)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>3080 - Disclosure - Commitments and Contingencies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marketo.com/role/DisclosureCommitmentsAndContingenciesTables</Role>
      <ShortName>Commitments and Contingencies (Tables)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>3090 - Disclosure - Stockholder's Equity and Stock Based Compensation (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marketo.com/role/DisclosureStockholdersEquityAndStockBasedCompensationTables</Role>
      <ShortName>Stockholder's Equity and Stock Based Compensation (Tables)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>3100 - 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>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>3120 - 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>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>4020 - Disclosure - Joint Venture (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marketo.com/role/DisclosureJointVentureDetails</Role>
      <ShortName>Joint Venture (Details)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>4030 - 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>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>4040 - Disclosure - Balance Sheet Components (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marketo.com/role/DisclosureBalanceSheetComponentsDetails</Role>
      <ShortName>Balance Sheet Components (Details)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>4041 - 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>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>4050 - 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>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>4060 - Disclosure - Stockholders' Equity and Redeemable Non-controlling Interests (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marketo.com/role/DisclosureStockholdersEquityAndRedeemableNoncontrollingInterestsDetails</Role>
      <ShortName>Stockholders' Equity and Redeemable Non-controlling Interests (Details)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>4070 - Disclosure - Credit Facility (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marketo.com/role/DisclosureCreditFacilityDetails</Role>
      <ShortName>Credit Facility (Details)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>4080 - Disclosure - Commitments and Contingencies (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marketo.com/role/DisclosureCommitmentsAndContingenciesDetails</Role>
      <ShortName>Commitments and Contingencies (Details)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>4090 - Disclosure - Stockholder's Equity and Stock Based Compensation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marketo.com/role/DisclosureStockholdersEquityAndStockBasedCompensationDetails</Role>
      <ShortName>Stockholder's Equity and Stock Based Compensation (Details)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>4091 - Disclosure - Stockholder's Equity and Stock Based Compensation (Details 2)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marketo.com/role/DisclosureStockholdersEquityAndStockBasedCompensationDetails2</Role>
      <ShortName>Stockholder's Equity and Stock Based Compensation (Details 2)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>4092 - Disclosure - Stockholder's Equity and Stock Based Compensation (Details 3)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marketo.com/role/DisclosureStockholdersEquityAndStockBasedCompensationDetails3</Role>
      <ShortName>Stockholder's Equity and Stock Based Compensation (Details 3)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>4100 - 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>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>4110 - Disclosure - Income Taxes (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.marketo.com/role/DisclosureIncomeTaxesDetails</Role>
      <ShortName>Income Taxes (Details)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>4120 - 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>
    </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">Element us-gaap_MinorityInterestOwnershipPercentageByNoncontrollingOwners had a mix of decimals attribute values: 3 4.</Log>
    <Log type="Info">Element us-gaap_OperatingLeasesFutureMinimumPaymentsDue had a mix of decimals attribute values: -5 -3.</Log>
    <Log type="Info">Element us-gaap_ProceedsFromMinorityShareholders had a mix of decimals attribute values: -3 0.</Log>
    <Log type="Info">'Monetary' elements on report '4050 - Disclosure - Goodwill and Intangible Assets (Details)' had a mix of different decimal attribute values.</Log>
    <Log type="Info">'Monetary' elements on report '4080 - Disclosure - Commitments and Contingencies (Details)' had a mix of different decimal attribute values.</Log>
    <Log type="Info">'Monetary' elements on report '4090 - Disclosure - Stockholder's Equity and Stock Based Compensation (Details)' had a mix of different decimal attribute values.</Log>
    <Log type="Info">'Shares' elements on report '4091 - Disclosure - Stockholder's Equity and Stock Based Compensation (Details 2)' had a mix of different decimal attribute values.</Log>
    <Log type="Info">'Monetary' elements on report '4110 - Disclosure - Income Taxes (Details)' had a mix of different decimal attribute values.</Log>
    <Log type="Info">Process Flow-Through: 0010 - Statement - Condensed Consolidated Balance Sheets</Log>
    <Log type="Info">	Process Flow-Through: Removing column 'Jun. 30, 2013'</Log>
    <Log type="Info">	Process Flow-Through: Removing column 'Dec. 31, 2012'</Log>
    <Log type="Info">Process Flow-Through: 0020 - Statement - Condensed Consolidated Statements of Operations</Log>
    <Log type="Info">Process Flow-Through: 0030 - Statement - Condensed Consolidated Statements of Comprehensive Loss</Log>
    <Log type="Info">Process Flow-Through: 0040 - Statement - Condensed Consolidated Statements of Cash Flows</Log>
  </Logs>
  <InputFiles>
    <File>mkto-20140630.xml</File>
    <File>mkto-20140630.xsd</File>
    <File>mkto-20140630_cal.xml</File>
    <File>mkto-20140630_def.xml</File>
    <File>mkto-20140630_lab.xml</File>
    <File>mkto-20140630_pre.xml</File>
  </InputFiles>
  <SupplementalFiles />
  <BaseTaxonomies />
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
