XML 72 R58.htm IDEA: XBRL DOCUMENT
v3.20.2

Fair Value Measurement (Details) - USD ($) $ in Thousands | Jun. 30, 2020 | Jun. 30, 2019 | Jun. 30, 2018
--- | --- | --- | ---
Fair value measurement |  |  |
Cash and cash equivalents | $ 250,851 | $ 132,476 | $ 137,193
Funds held for clients' cash and cash equivalents | 1,241,282 | 1,293,667 | $ 1,102,538
Total investments at fair value | 1,615,310 | 1,556,967 |
Available-for-sale securities: |  |  |
Total available-for-sale securities | 123,177 | 130,824 |
Fair value asset transfers |  |  |
Transfers from level 1 to level 2 | 0 | 0 |
Transfers from level 2 to level 1 | 0 | 0 |
Level 1 |  |  |
Fair value measurement |  |  |
Cash and cash equivalents | 250,851 | 116,387 |
Funds held for clients' cash and cash equivalents | 1,241,282 | 1,244,856 |
Total investments at fair value | 1,492,133 | 1,361,243 |
Available-for-sale securities: |  |  |
Total available-for-sale securities | 0 | 0 |
Level 2 |  |  |
Fair value measurement |  |  |
Cash and cash equivalents |  | 16,089 |
Funds held for clients' cash and cash equivalents |  | 48,811 |
Total investments at fair value | 123,177 | 195,724 |
Available-for-sale securities: |  |  |
Total available-for-sale securities | 123,177 | 130,824 |
Level 3 |  |  |
Available-for-sale securities: |  |  |
Total available-for-sale securities | 0 | 0 |
Commercial paper |  |  |
Available-for-sale securities: |  |  |
Total available-for-sale securities | 6,649 | 63,428 |
Commercial paper | Level 2 |  |  |
Available-for-sale securities: |  |  |
Total available-for-sale securities | 6,649 | 63,428 |
Corporate bonds |  |  |
Available-for-sale securities: |  |  |
Total available-for-sale securities | 44,757 | 27,099 |
Corporate bonds | Level 2 |  |  |
Available-for-sale securities: |  |  |
Total available-for-sale securities | 44,757 | 27,099 |
Asset-backed securities |  |  |
Available-for-sale securities: |  |  |
Total available-for-sale securities | 50,402 | 26,540 |
Asset-backed securities | Level 2 |  |  |
Available-for-sale securities: |  |  |
Total available-for-sale securities | 50,402 | 26,540 |
U.S. treasury securities |  |  |
Available-for-sale securities: |  |  |
Total available-for-sale securities | 21,369 | 13,757 |
U.S. treasury securities | Level 2 |  |  |
Available-for-sale securities: |  |  |
Total available-for-sale securities | $ 21,369 | $ 13,757 |

X
- Definition The amount of funds held for clients that are cash and cash equivalents. + References No definition available. + Details
Name: | pcty_FundsHeldForClientsCashAndCashEquivalents
Namespace Prefix: | pcty_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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

X
- Definition Amount of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=118942338&loc=SL82898722-210454 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 45 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=118954083&loc=d3e26610-111562 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (aa) -URI http://asc.fasb.org/extlink&oid=118939692&loc=d3e27161-111563 + Details
Name: | us-gaap_AvailableForSaleSecuritiesDebtSecurities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes 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 230 -SubTopic 10 -Section 45 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=118932676&loc=d3e3044-108585 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section 45 -Paragraph 1 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=118951113&loc=d3e6676-107765 Reference 3: 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=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_CashAndCashEquivalentsAtCarryingValue
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_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of transfers of assets measured on a recurring basis out of Level 1 of the fair value hierarchy into Level 2. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (bb) -URI http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258 + Details
Name: | us-gaap_FairValueAssetsLevel1ToLevel2TransfersAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of transfers of assets measured on a recurring basis out of Level 2 of the fair value hierarchy into Level 1. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (bb) -URI http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258 + Details
Name: | us-gaap_FairValueAssetsLevel2ToLevel1TransfersAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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

X
- Definition Sum of the carrying amounts as of the balance sheet date of all investments. + References Reference 1: 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.1(h)) -URI http://asc.fasb.org/extlink&oid=119400593&loc=d3e572229-122910 + Details
Name: | us-gaap_Investments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel1Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel2Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel3Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_CommercialPaperNotIncludedWithCashAndCashEquivalentsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_CorporateDebtSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_AssetBackedSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_USTreasurySecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |