XML 73 R51.htm IDEA: XBRL DOCUMENT
v3.20.4

Debt (Details) - USD ($) $ in Thousands |  | 1 Months Ended | 12 Months Ended |
--- | --- | --- | --- | ---
Oct. 31, 2019 | Jun. 30, 2020 | Oct. 31, 2019 | Dec. 31, 2020 | Dec. 31, 2019
Debt Instrument [Line Items] |  |  |  |  |
Long-term Debt |  |  |  |  | $ 9,794
Loss on early repayment of debt |  |  |  | $ (585) |
Term Loan Credit Agreement |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |
Loan facility for general corporate | $ 50,000 |  | $ 50,000 |  |
Long-term Debt | 10,000 |  | 10,000 | 0 |
Tranche Installment Amount | $ 20,000 |  | $ 20,000 | $ 20,000 |
Cash and cash equivalents ( In percentage) |  |  | 35.00% |  |
Loan Origination Fee (In Percentage) |  |  | 0.25% |  |
Period Of Interest Only Payments | 24 months |  |  |  |
Consecutive monthly payments | 24 months |  |  |  |
Additional Prepayment (In Percentage) |  |  | 2.85% |  |
Outstanding balance paid |  | $ 10,000 |  |  |
Loss on early repayment of debt |  | 600 |  |  |
Prepayment and exit fees |  | 600 |  |  |
Accelerated capitalized and unamortized debt issuance costs |  | $ 100 |  |  |
Prime Rate | Term Loan Credit Agreement |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |
prime rate (In Percentage) |  |  | 2.91% |  |
Floor rate (In Percentage) |  |  | 4.94% |  |
Debt Instrument Repayment On Or Before First Anniversary | Term Loan Credit Agreement |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |
Prepayment premium (In Percentage) |  |  | 3.00% |  |
Debt Instrument Repayment Between First And Second Anniversary | Term Loan Credit Agreement |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |
Prepayment premium (In Percentage) |  |  | 2.00% |  |
Debt Instrument Repayment After Second Anniversary | Term Loan Credit Agreement |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |
Prepayment premium (In Percentage) |  |  | 1.00% |  |

X
- Definition The additional percentage of prepayment premium on the amount advanced by the lenders will be due upon prepayments or repayment of the debt instrument. + References No definition available. + Details
Name: | ptgx_DebtInstrumentAdditionalPrepaymentOrRepaymentPremiumPercentage
Namespace Prefix: | ptgx_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Represents the floor rate of the debt instrument + References No definition available. + Details
Name: | ptgx_DebtInstrumentFloorRate
Namespace Prefix: | ptgx_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Represents the percentage of loan origination fee under the debt instrument. + References No definition available. + Details
Name: | ptgx_DebtInstrumentLoanOriginationFeePercentage
Namespace Prefix: | ptgx_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Represents the period for which the company is required to pay interest-only payments on the debt instrument. + References No definition available. + Details
Name: | ptgx_DebtInstrumentPeriodOfInterestOnlyPayments
Namespace Prefix: | ptgx_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Represents the period for which the company will pay principal and interest payments on the debt instrument. + References No definition available. + Details
Name: | ptgx_DebtInstrumentPeriodOfPrincipalAndInterestPayments
Namespace Prefix: | ptgx_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition The percentage of prepayment premium under the debt instrument. + References No definition available. + Details
Name: | ptgx_DebtInstrumentPrepaymentPremiumPercentage
Namespace Prefix: | ptgx_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Represents the percentage on outstanding debt to be maintained as balance under cash and cash equivalents by the company. + References No definition available. + Details
Name: | ptgx_DebtInstrumentThresholdPercentageOnOutstandingDebtToBeMaintainedAsCashAndCashEquivalentsBalance
Namespace Prefix: | ptgx_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Represents the tranche installment amount under the debt instrument. + References No definition available. + Details
Name: | ptgx_DebtInstrumentTrancheInstallmentAmount
Namespace Prefix: | ptgx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Percentage points added to the reference rate to compute the variable rate on the debt instrument. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentBasisSpreadOnVariableRate1
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of the fee that accompanies borrowing money under the debt instrument. + References Reference 1: 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.22(b)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentFeeAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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_DebtInstrumentLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount, after accumulated amortization, of debt discount (premium). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=119993939&loc=d3e28555-108399 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=119993939&loc=d3e28551-108399 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=119993939&loc=d3e28567-108399 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 1A -URI http://asc.fasb.org/extlink&oid=119993939&loc=d3e28541-108399 Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 55 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=114775985&loc=d3e28878-108400 + Details
Name: | us-gaap_DebtInstrumentUnamortizedDiscountPremiumNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Difference between the fair value of payments made and the carrying amount of debt which is extinguished prior to maturity. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 50 -Section 40 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=117329964&loc=d3e12355-112629 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 50 -Section 40 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=117329964&loc=d3e12317-112629 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=121586364&loc=d3e3602-108585 + Details
Name: | us-gaap_GainsLossesOnExtinguishmentOfDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Maximum borrowing capacity under the credit facility without consideration of any current restrictions on the amount that could be borrowed or the amounts currently outstanding under the facility. + References Reference 1: 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(b),22(b)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount, after unamortized (discount) premium and debt issuance costs, of long-term debt. Includes, but not limited to, notes payable, bonds payable, debentures, mortgage loans and commercial paper. Excludes capital lease obligations. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 4 -Subparagraph (b)(3) -URI http://asc.fasb.org/extlink&oid=120520924&loc=SL6031897-161870 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(a)(16)) -URI http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(16)) -URI http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878 Reference 4: 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(22)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_LongTermDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The cash outflow during the period from the repayment of aggregate short-term and long-term debt. Excludes payment of capital lease obligations. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 15 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=121586364&loc=d3e3291-108585 + Details
Name: | us-gaap_RepaymentsOfDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | us-gaap_DebtInstrumentAxis=ptgx_TermLoanCreditAgreementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=us-gaap_PrimeRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementScenarioAxis=ptgx_DebtInstrumentRepaymentOnOrBeforeFirstAnniversaryMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementScenarioAxis=ptgx_DebtInstrumentRepaymentBetweenFirstAndSecondAnniversaryMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementScenarioAxis=ptgx_DebtInstrumentRepaymentAfterSecondAnniversaryMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |