XML 67 R45.htm IDEA: XBRL DOCUMENT
v3.20.4

Cash Equivalents and Marketable Securities - Classification of Cash Equivalents and Marketable Securities (Details) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2020 | Dec. 31, 2019
Classified as: |  |
Cash equivalents | $ 113,693 | $ 31,707
Marketable securities - current | 188,451 | 100,011
Marketable securities - noncurrent | 2,000 |
Total cash equivalents and marketable securities | $ 304,144 | 131,718
Contractual maturities |  |
Maximum period of current contractual maturities | 1 year |
Minimum period of noncurrent contractual maturities | 1 year |
Maximum period of Noncurrent contractual maturities | 2 years |
Realized Gain (loss) | $ 0 | $ 0

X
- Definition The aggregate fair value of amount of investment in debt and equity securities and cash equivalents categorized neither as held-to-maturity nor trading. + References No definition available. + Details
Name: | ptgx_CashEquivalentsAndMarketableSecuritiesFairValue
Namespace Prefix: | ptgx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Represents the maximum period of current contractual maturities. + References No definition available. + Details
Name: | ptgx_CurrentContractualMaturitiesMaximumPeriod
Namespace Prefix: | ptgx_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Represents the maximum period of contractual maturities. + References No definition available. + Details
Name: | ptgx_NoncurrentContractualMaturitiesMaximumPeriod
Namespace Prefix: | ptgx_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Represents the minimum period of noncurrent contractual maturities. + References No definition available. + Details
Name: | ptgx_NoncurrentContractualMaturitiesMinimumPeriod
Namespace Prefix: | ptgx_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

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

X
- Definition Amount of short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates. Excludes cash and cash equivalents within disposal group and discontinued operation. + 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.1) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_CashEquivalentsAtCarryingValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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

X
- Definition Amount of investment in marketable security, classified as current. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section 45 -Paragraph 1 -Subparagraph (f) -URI http://asc.fasb.org/extlink&oid=121566466&loc=d3e6676-107765 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.2) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_MarketableSecuritiesCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of investment in marketable security, classified as noncurrent. + 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.12) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_MarketableSecuritiesNoncurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of realized gain (loss) on investment in marketable security, excluding other-than-temporary impairment (OTTI). + References No definition available. + Details
Name: | us-gaap_MarketableSecuritiesRealizedGainLossExcludingOtherThanTemporaryImpairments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration