<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:bbai="http://bigbear.ai/20260609"
  xmlns:dei="http://xbrl.sec.gov/dei/2025"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:us-gaap="http://fasb.org/us-gaap/2025"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="bbai-20260609.xsd" xlink:type="simple"/>
    <context id="duration_2026-06-09_to_2026-06-09">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001836981</identifier>
        </entity>
        <period>
            <startDate>2026-06-09</startDate>
            <endDate>2026-06-09</endDate>
        </period>
    </context>
    <context id="duration_2026-06-09_to_2026-06-09_us-gaap-StatementClassOfStockAxis_bbai-CommonStock0.0001ParValueMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001836981</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementClassOfStockAxis">bbai:CommonStock0.0001ParValueMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-06-09</startDate>
            <endDate>2026-06-09</endDate>
        </period>
    </context>
    <context id="duration_2026-06-09_to_2026-06-09_us-gaap-StatementClassOfStockAxis_bbai-RedeemableWarrantsEachFullWarrantExercisableForOneShareOfCommonStockAtAnExercisePriceOf11.50PerShareMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001836981</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementClassOfStockAxis">bbai:RedeemableWarrantsEachFullWarrantExercisableForOneShareOfCommonStockAtAnExercisePriceOf11.50PerShareMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-06-09</startDate>
            <endDate>2026-06-09</endDate>
        </period>
    </context>
    <dei:AmendmentFlag contextRef="duration_2026-06-09_to_2026-06-09" id="ixv-439">false</dei:AmendmentFlag>
    <dei:EntityCentralIndexKey
      contextRef="duration_2026-06-09_to_2026-06-09"
      id="Hidden_dei_EntityCentralIndexKey">0001836981</dei:EntityCentralIndexKey>
    <dei:CurrentFiscalYearEndDate
      contextRef="duration_2026-06-09_to_2026-06-09"
      id="Hidden_dei_CurrentFiscalYearEndDate_duration_2026-06-09_to_2026-06-09">--12-31</dei:CurrentFiscalYearEndDate>
    <dei:DocumentType contextRef="duration_2026-06-09_to_2026-06-09" id="ixv-467">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate contextRef="duration_2026-06-09_to_2026-06-09" id="ixv-468">2026-06-09</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName contextRef="duration_2026-06-09_to_2026-06-09" id="ixv-469">BigBear.ai Holdings, Inc.</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode contextRef="duration_2026-06-09_to_2026-06-09" id="ixv-470">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber contextRef="duration_2026-06-09_to_2026-06-09" id="ixv-471">001-40031</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber contextRef="duration_2026-06-09_to_2026-06-09" id="ixv-472">85-4164597</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1 contextRef="duration_2026-06-09_to_2026-06-09" id="ixv-473">7950 Jones Branch Drive</dei:EntityAddressAddressLine1>
    <dei:EntityAddressAddressLine2 contextRef="duration_2026-06-09_to_2026-06-09" id="ixv-474">First Floor</dei:EntityAddressAddressLine2>
    <dei:EntityAddressAddressLine3 contextRef="duration_2026-06-09_to_2026-06-09" id="ixv-475">North Tower</dei:EntityAddressAddressLine3>
    <dei:EntityAddressCityOrTown contextRef="duration_2026-06-09_to_2026-06-09" id="ixv-476">McLean</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince contextRef="duration_2026-06-09_to_2026-06-09" id="ixv-477">VA</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode contextRef="duration_2026-06-09_to_2026-06-09" id="ixv-478">22102</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode contextRef="duration_2026-06-09_to_2026-06-09" id="ixv-479">(410)</dei:CityAreaCode>
    <dei:LocalPhoneNumber contextRef="duration_2026-06-09_to_2026-06-09" id="ixv-480">312-0885</dei:LocalPhoneNumber>
    <dei:WrittenCommunications contextRef="duration_2026-06-09_to_2026-06-09" id="ixv-481">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial contextRef="duration_2026-06-09_to_2026-06-09" id="ixv-482">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer contextRef="duration_2026-06-09_to_2026-06-09" id="ixv-483">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer contextRef="duration_2026-06-09_to_2026-06-09" id="ixv-484">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle
      contextRef="duration_2026-06-09_to_2026-06-09_us-gaap-StatementClassOfStockAxis_bbai-CommonStock0.0001ParValueMember"
      id="ixv-485">Common stock, $0.0001 par value</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="duration_2026-06-09_to_2026-06-09_us-gaap-StatementClassOfStockAxis_bbai-CommonStock0.0001ParValueMember"
      id="ixv-486">BBAI</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="duration_2026-06-09_to_2026-06-09_us-gaap-StatementClassOfStockAxis_bbai-CommonStock0.0001ParValueMember"
      id="ixv-487">NYSE</dei:SecurityExchangeName>
    <dei:Security12bTitle
      contextRef="duration_2026-06-09_to_2026-06-09_us-gaap-StatementClassOfStockAxis_bbai-RedeemableWarrantsEachFullWarrantExercisableForOneShareOfCommonStockAtAnExercisePriceOf11.50PerShareMember"
      id="ixv-488">Redeemable warrants, each full warrant exercisable for one share of common stock at an exercise price of $11.50 per share</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="duration_2026-06-09_to_2026-06-09_us-gaap-StatementClassOfStockAxis_bbai-RedeemableWarrantsEachFullWarrantExercisableForOneShareOfCommonStockAtAnExercisePriceOf11.50PerShareMember"
      id="ixv-489">BBAI.WS</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="duration_2026-06-09_to_2026-06-09_us-gaap-StatementClassOfStockAxis_bbai-RedeemableWarrantsEachFullWarrantExercisableForOneShareOfCommonStockAtAnExercisePriceOf11.50PerShareMember"
      id="ixv-490">NYSE</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany contextRef="duration_2026-06-09_to_2026-06-09" id="ixv-491">false</dei:EntityEmergingGrowthCompany>
</xbrl>
