<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xml:lang="en-US"
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2024"
  xmlns:ffd="http://xbrl.sec.gov/ffd/2024q2"
  xmlns:iso4217="http://www.xbrl.org/2003/iso4217"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef
      xlink:href="https://xbrl.sec.gov/ffd/2024q2/ffd-2024q2.xsd"
      xlink:type="simple"/>
    <context id="c-1">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001522540</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>1</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-02-24</startDate>
            <endDate>2026-02-24</endDate>
        </period>
    </context>
    <context id="c-2">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001522540</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>2</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-02-24</startDate>
            <endDate>2026-02-24</endDate>
        </period>
    </context>
    <context id="c-3">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001522540</identifier>
        </entity>
        <period>
            <startDate>2026-02-24</startDate>
            <endDate>2026-02-24</endDate>
        </period>
    </context>
    <unit id="shares">
        <measure>shares</measure>
    </unit>
    <unit id="usd">
        <measure>iso4217:USD</measure>
    </unit>
    <unit id="number">
        <measure>pure</measure>
    </unit>
    <dei:EntityCentralIndexKey contextRef="c-3" id="f-25">0001522540</dei:EntityCentralIndexKey>
    <dei:EntityRegistrantName contextRef="c-3" id="f-26">Marqeta, Inc.</dei:EntityRegistrantName>
    <ffd:FormTp contextRef="c-3" id="f-27">S-8</ffd:FormTp>
    <ffd:SubmissnTp contextRef="c-3" id="f-28">S-8</ffd:SubmissnTp>
    <ffd:FeeExhibitTp contextRef="c-3" id="f-29">EX-FILING FEES</ffd:FeeExhibitTp>
    <ffd:PrevslyPdFlg contextRef="c-1" id="f-1">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="c-1" id="f-2">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="c-1" id="f-3">Class A Common Stock, par value $0.0001 per share</ffd:OfferingSctyTitl>
    <ffd:FeesOthrRuleFlg contextRef="c-1" id="f-4">true</ffd:FeesOthrRuleFlg>
    <ffd:AmtSctiesRegd contextRef="c-1" decimals="0" id="f-5" unitRef="shares">21612782</ffd:AmtSctiesRegd>
    <ffd:MaxOfferingPricPerScty contextRef="c-1" decimals="2" id="f-6" unitRef="usd">3.96</ffd:MaxOfferingPricPerScty>
    <ffd:MaxAggtOfferingPric contextRef="c-1" decimals="2" id="f-7" unitRef="usd">85586616.72</ffd:MaxAggtOfferingPric>
    <ffd:FeeRate contextRef="c-1" decimals="8" id="f-8" unitRef="number">0.0001381</ffd:FeeRate>
    <ffd:FeeAmt contextRef="c-1" decimals="2" id="f-9" unitRef="usd">11819.51</ffd:FeeAmt>
    <ffd:PrevslyPdFlg contextRef="c-2" id="f-10">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="c-2" id="f-11">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="c-2" id="f-12">Class A Common Stock, par value $0.0001 per share</ffd:OfferingSctyTitl>
    <ffd:FeesOthrRuleFlg contextRef="c-2" id="f-13">true</ffd:FeesOthrRuleFlg>
    <ffd:AmtSctiesRegd contextRef="c-2" decimals="0" id="f-14" unitRef="shares">4322556</ffd:AmtSctiesRegd>
    <ffd:MaxOfferingPricPerScty contextRef="c-2" decimals="2" id="f-15" unitRef="usd">3.37</ffd:MaxOfferingPricPerScty>
    <ffd:MaxAggtOfferingPric contextRef="c-2" decimals="2" id="f-16" unitRef="usd">14567013.72</ffd:MaxAggtOfferingPric>
    <ffd:FeeRate contextRef="c-2" decimals="8" id="f-17" unitRef="number">0.0001381</ffd:FeeRate>
    <ffd:FeeAmt contextRef="c-2" decimals="2" id="f-18" unitRef="usd">2011.7</ffd:FeeAmt>
    <ffd:TtlOfferingAmt contextRef="c-3" decimals="2" id="f-19" unitRef="usd">100153630.44</ffd:TtlOfferingAmt>
    <ffd:TtlFeeAmt contextRef="c-3" decimals="2" id="f-20" unitRef="usd">13831.22</ffd:TtlFeeAmt>
    <ffd:TtlOffsetAmt contextRef="c-3" decimals="2" id="f-21" unitRef="usd">0.00</ffd:TtlOffsetAmt>
    <ffd:NetFeeAmt contextRef="c-3" decimals="2" id="f-22" unitRef="usd">13831.22</ffd:NetFeeAmt>
    <ffd:OfferingNote contextRef="c-1" id="f-23">&lt;span style="color:#000000;font-family:'Times New Roman',serif;font-size:10pt;font-weight:400;line-height:100%"&gt;Pursuant to Rule 416 of the Securities Act of 1933, as amended (the &#x201c;Securities Act&#x201d;), this Registration Statement shall also cover any additional shares of the Registrant&#x2019;s Class A Common Stock (&#x201c;Class A Common Stock&#x201d;) that become issuable under the Registrant&#x2019;s 2021 Stock Option and Incentive Plan (&#x201c;2021 Plan&#x201d;) by reason of any stock dividend, stock split, recapitalization or other similar transaction effected without receipt of consideration that increases the number of outstanding shares of Class A Common Stock. &lt;/span&gt;&lt;span style="color:#000000;font-family:'Times New Roman',serif;font-size:10pt;font-weight:400;line-height:100%"&gt;This amount registered reflects an automatic increase to the number of shares of Class A Common Stock reserved for issuance pursuant to future awards under the 2021 Plan, which annual increase is provided for in the 2021 Plan.&lt;/span&gt;&lt;div style="text-align:justify"&gt;&lt;span style="color:#000000;font-family:'Times New Roman',serif;font-size:10pt;font-weight:400;line-height:120%"&gt;The proposed maximum offering price per unit is estimated in accordance with Rule 457(c) and (h) of the Securities Act solely for the purpose of calculating the registration fee on the basis of $3.96 per share, which is the average of the high and low prices of Class A Common Stock, as reported on The Nasdaq Global Select Market, on February 17, 2026.&lt;/span&gt;&lt;/div&gt;</ffd:OfferingNote>
    <ffd:OfferingNote contextRef="c-2" id="f-24">&lt;div style="text-align:justify"&gt;&lt;span style="color:#000000;font-family:'Times New Roman',serif;font-size:10pt;font-weight:400;line-height:120%"&gt;Pursuant to Rule 416 of the Securities Act, this Registration Statement shall also cover any additional shares of Class A Common Stock that become issuable under the Registrant&#x2019;s 2021 Employee Stock Purchase Plan (&#x201c;2021 ESPP&#x201d;) by reason of any stock dividend, stock split, recapitalization or other similar transaction effected without receipt of consideration that increases the number of outstanding shares of Class A Common Stock. &lt;/span&gt;&lt;/div&gt;&lt;span style="color:#000000;font-family:'Times New Roman',serif;font-size:10pt;font-weight:400;line-height:120%"&gt;The amount registered reflects an automatic increase to the number of shares of Class A Common Stock reserved for issuance under the 2021 ESPP, which annual increase is provided for in the 2021 ESPP.&lt;/span&gt;&lt;span style="color:#000000;font-family:'Times New Roman',serif;font-size:10pt;font-weight:400;line-height:120%"&gt;The proposed maximum offering price per unit is estimated in accordance with Rule 457(c) and (h) of the Securities Act solely for the purpose of calculating the registration fee on the basis of 85% of $3.96 per share, which is the average of the high and low prices of Class A Common Stock, as reported on The Nasdaq Global Select Market, on February 17, 2026. Pursuant to the 2021 ESPP, the purchase price of the shares of Class A Common Stock reserved for issuance thereunder will be at least 85% of the lower of the fair market value of a share of Class A Common Stock on the first trading day of the offering period or on the exercise date.&lt;/span&gt;</ffd:OfferingNote>
</xbrl>
