XML 37 R27.htm IDEA: XBRL DOCUMENT
v3.22.2.2

RELATED PARTY TRANSACTIONS - Additional Information (Details) - USD ($) |  |  |  | 3 Months Ended | 9 Months Ended |  |
--- | --- | --- | --- | --- | --- | --- | ---
Feb. 08, 2021 | Jan. 13, 2021 | Dec. 17, 2020 | Sep. 30, 2022 | Sep. 30, 2021 | Sep. 30, 2022 | Sep. 30, 2021 | Dec. 31, 2021 | Feb. 11, 2021
Sponsor |  |  |  |  |  |  |  |  |
Related Party Transaction [Line Items] |  |  |  |  |  |  |  |  |
Promissory note - related party |  |  |  |  |  |  |  |  | $ 73,295
Promissory Note with Related Party |  |  |  |  |  |  |  |  |
Related Party Transaction [Line Items] |  |  |  |  |  |  |  |  |
Maximum borrowing capacity of related party promissory note |  |  | $ 75,000 |  |  |  |  |  |
Additional borrowing capacity of related party promissory note |  | $ 50,000 |  |  |  |  |  |  |
Outstanding balance of related party note |  |  |  | $ 0 |  | $ 0 |  | $ 0 |
Working Capital Loans |  |  |  |  |  |  |  |  |
Related Party Transaction [Line Items] |  |  |  |  |  |  |  |  |
Price of warrant |  |  |  | $ 1.50 |  | $ 1.50 |  |  |
Working capital loans |  |  |  | $ 0 |  | $ 0 |  | $ 0 |
Maximum loans convertible into warrants |  |  |  | 1,500,000 |  | 1,500,000 |  |  |
Working Capital Loans | Warrants |  |  |  |  |  |  |  |  |
Related Party Transaction [Line Items] |  |  |  |  |  |  |  |  |
Working capital loans |  |  |  |  | $ 100,000 |  | $ 100,000 |  |
Maximum loans convertible into warrants |  |  |  |  | 66,667 |  | 66,667 |  |
Administrative Service Fee |  |  |  |  |  |  |  |  |
Related Party Transaction [Line Items] |  |  |  |  |  |  |  |  |
Expenses per month | $ 25,000 |  |  |  |  |  |  |  |
Expenses incurred and paid |  |  |  | $ 75,000 | $ 191,964 | $ 225,000 | $ 191,964 |  |
Administrative Service Fee | Sponsor |  |  |  |  |  |  |  |  |
Related Party Transaction [Line Items] |  |  |  |  |  |  |  |  |
Expenses per month | 10,000 |  |  |  |  |  |  |  |
Administrative Service Fee | CEO and CFO |  |  |  |  |  |  |  |  |
Related Party Transaction [Line Items] |  |  |  |  |  |  |  |  |
Expenses per month | $ 15,000 |  |  |  |  |  |  |  |

X
- Definition Amount of Additional borrowing capacity of related party promissory note. + References No definition available. + Details
Name: | pmgmu_AdditionalBorrowingCapacityOfRelatedPartyPromissoryNote
Namespace Prefix: | pmgmu_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Price per share or per unit of warrants or rights outstanding. + References No definition available. + Details
Name: | pmgmu_ClassOfWarrantOrRightPriceOfWarrantsOrRights
Namespace Prefix: | pmgmu_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of maximum borrowing capacity of related party promissory note. + References No definition available. + Details
Name: | pmgmu_MaximumBorrowingCapacityOfRelatedPartyPromissoryNote
Namespace Prefix: | pmgmu_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The maximum amount which a potential loan could have repaid through issuance of warrants. + References No definition available. + Details
Name: | pmgmu_MaximumLoansConvertibleIntoWarrants
Namespace Prefix: | pmgmu_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The contractual monthly amount to be paid for support services. + References No definition available. + Details
Name: | pmgmu_RelatedPartyTransactionExpensesFromTransactionsWithRelatedPartyPerMonth
Namespace Prefix: | pmgmu_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Represents the amount of working capital loan. + References No definition available. + Details
Name: | pmgmu_WorkingCapitalLoans
Namespace Prefix: | pmgmu_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount for notes payable (written promise to pay), due to related parties. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 850 -SubTopic 10 -Section 50 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864 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.19(a)(5)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(k)(1)) -URI https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690 + Details
Name: | us-gaap_NotesPayableRelatedPartiesClassifiedCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount for notes payable (written promise to pay), due to related parties. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 850 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (d) -URI https://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03.17) -URI https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(k)(1)) -URI https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690 + Details
Name: | us-gaap_NotesPayableRelatedPartiesCurrentAndNoncurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Expenses recognized resulting from transactions (excluding transactions that are eliminated in consolidated or combined financial statements) with related party. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 850 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (c) -URI https://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864 + Details
Name: | us-gaap_RelatedPartyTransactionExpensesFromTransactionsWithRelatedParty
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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_RelatedPartyTransactionLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=pmgmu_SponsorMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RelatedPartyTransactionAxis=pmgmu_PromissoryNoteWithRelatedPartyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RelatedPartyTransactionAxis=pmgmu_WorkingCapitalLoanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_SubsidiarySaleOfStockAxis=us-gaap_NoteWarrantMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RelatedPartyTransactionAxis=pmgmu_AdministrativeServiceFeeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=pmgmu_CeoAndCfoMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |