XML 35 R25.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Initial Public Offering (Details) - USD ($) | Feb. 11, 2021 | Jun. 30, 2021
--- | --- | ---
Subsidiary, Sale of Stock [Line Items] |  |
Purchase price, per unit |  | $ 10.00
Exercise price of warrants |  | $ 11.50
Underwriting fees |  | $ 5,520,000
Deferred underwriting fee payable |  | $ 9,660,000
Initial Public Offering |  |
Subsidiary, Sale of Stock [Line Items] |  |
Number of units sold | 27,600,000 |
Purchase price, per unit | $ 10.00 | $ 10.10
Underwriting fees | $ 5,520,000 | $ 5,220,000
Deferred underwriting fee payable | $ 9,660,000 | $ 9,660,000
Initial Public Offering | Public Warrants |  |
Subsidiary, Sale of Stock [Line Items] |  |
Purchase price, per unit | $ 0.50 |
Number of shares in a unit | 1 |
Number of warrants in a unit | 0.33 |
Number of shares issuable per warrant | 1 |
Exercise price of warrants | $ 11.50 |
Warrant exercise period condition one | 30 days |
Warrant exercise period condition two | 12 months |
Public Warrants expiration term | 5 years |
Over-allotment option |  |
Subsidiary, Sale of Stock [Line Items] |  |
Number of units sold | 3,600,000 |
Purchase price, per unit | $ 10.00 |

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 number of shares in a unit. + References No definition available. + Details
Name: | pmgmu_NumberOfSharesIssuedPerUnit
Namespace Prefix: | pmgmu_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Represents the number of warrants in a unit. + References No definition available. + Details
Name: | pmgmu_NumberOfWarrantsIssuedPerUnit
Namespace Prefix: | pmgmu_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Represents the amount of offering fees incurred and paid for underwriters. + References No definition available. + Details
Name: | pmgmu_SaleOfStockUnderwritingFees
Namespace Prefix: | pmgmu_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Number of new units issued during the period. + References No definition available. + Details
Name: | pmgmu_UnitsIssuedDuringPeriodSharesNewIssues
Namespace Prefix: | pmgmu_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition The period of time after completion of a business combination before a warrant may be exercised. + References No definition available. + Details
Name: | pmgmu_WarrantExercisePeriodConditionOne
Namespace Prefix: | pmgmu_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition The alternate period of time after completion of an initial public offering before a warrant may be exercised. + References No definition available. + Details
Name: | pmgmu_WarrantExercisePeriodConditionTwo
Namespace Prefix: | pmgmu_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Exercise price per share or per unit of warrants or rights outstanding. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=109259400&loc=d3e21475-112644 + Details
Name: | us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1
Namespace Prefix: | us-gaap_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number of securities into which each warrant or right may be converted. For example, but not limited to, each warrant may be converted into two shares. + References No definition available. + Details
Name: | us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByEachWarrantOrRight
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Per share or per unit amount of equity securities issued. + References No definition available. + Details
Name: | us-gaap_SharesIssuedPricePerShare
Namespace Prefix: | us-gaap_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_SubsidiarySaleOfStockLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Period between issuance and expiration of outstanding warrant and right embodying unconditional obligation requiring redemption by transferring asset at specified or determinable date or upon event certain to occur, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (bbb)(2) -URI http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258 + Details
Name: | us-gaap_WarrantsAndRightsOutstandingTerm
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | instant

X
- Details
Name: | us-gaap_SubsidiarySaleOfStockAxis=us-gaap_IPOMember
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_SubsidiarySaleOfStockAxis=us-gaap_OverAllotmentOptionMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |