XML 38 R28.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Commitments and Contingencies (Details) | Sep. 30, 2021 USD ($) item $ / shares
--- | ---
Commitments and Contingencies. |
Deferred fee per unit | $ / shares | $ 0.35
Deferred underwriting fee payable | $ | $ 9,660,000
Maximum number of demands for registration of securities | item | 3

X
- Definition Represents the deferred fee per unit. + References No definition available. + Details
Name: | pmgmu_DeferredFeePerUnit
Namespace Prefix: | pmgmu_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition The carrying value as of balance sheet date of underwriting fees payable or deferred, classified as noncurrent. + References No definition available. + Details
Name: | pmgmu_DeferredOfferingCostsNoncurrent
Namespace Prefix: | pmgmu_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Represents the maximum number of demands for registration of securities. + References No definition available. + Details
Name: | pmgmu_MaximumNumberOfDemandsForRegistrationOfSecurities
Namespace Prefix: | pmgmu_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

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