XML 43 R33.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Recurring Fair Value Measurements (Details) | Jun. 30, 2021 USD ($)
--- | ---
Liabilities, Fair Value Disclosure [Abstract] |
Warrant liability | $ 14,585,600
Fair value assets level 2 to level 1 transfers | 0
Level 1 | Public Warrants |
Liabilities, Fair Value Disclosure [Abstract] |
Warrant liability | 9,200,000
Level 1 | U.S. Treasury Securities |
Assets: |
Cash held in the Trust Account | 276,037,035
Level 3 | Private Placement Warrants |
Liabilities, Fair Value Disclosure [Abstract] |
Warrant liability | $ 5,385,600

X
- References No definition available. + Details
Name: | us-gaap_AssetsFairValueDisclosureAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Excludes cash and cash equivalents within disposal group and discontinued operation. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 946 -SubTopic 210 -Section 45 -Paragraph 20 -URI http://asc.fasb.org/extlink&oid=118262064&loc=SL116631418-115840 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.1) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 946 -SubTopic 210 -Section 45 -Paragraph 21 -URI http://asc.fasb.org/extlink&oid=118262064&loc=SL116631419-115840 + Details
Name: | us-gaap_Cash
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of transfers of assets measured on a recurring basis out of Level 2 of the fair value hierarchy into Level 1. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (bb) -URI http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258 + Details
Name: | us-gaap_FairValueAssetsLevel2ToLevel1TransfersAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- References No definition available. + Details
Name: | us-gaap_LiabilitiesFairValueDisclosureAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The fair value of shares that would be issued, determined under the conditions specified in the contract if the settlement were to occur at the reporting date. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 480 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=109262807&loc=d3e22047-110879 + Details
Name: | us-gaap_SharesSubjectToMandatoryRedemptionSettlementTermsFairValueOfShares
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel1Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ClassOfWarrantOrRightAxis=pmgmu_PublicWarrantsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_USTreasurySecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel3Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ClassOfWarrantOrRightAxis=pmgmu_PrivatePlacementWarrantsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |