XML 50 R37.htm IDEA: XBRL DOCUMENT
v3.22.1

Fair Value Measurement (Details) - USD ($) $ in Thousands | Mar. 31, 2022 | Jun. 30, 2021 | Mar. 31, 2021
--- | --- | --- | ---
Fair value measurement |  |  |
Cash and cash equivalents | $ 96,465 | $ 202,287 | $ 175,453
Funds held for clients' cash and cash equivalents | 4,176,903 | 1,743,594 | $ 2,019,089
Available-for-sale securities: |  |  |
Total available-for-sale securities | 147,664 | 20,539 |
Total investments | 4,421,032 | 1,966,420 |
Level 3 |  |  |
Available-for-sale securities: |  |  |
Total available-for-sale securities | 0 | 0 |
Level 1 |  |  |
Fair value measurement |  |  |
Cash and cash equivalents | 96,465 | 202,287 |
Funds held for clients' cash and cash equivalents | 4,176,903 | 1,743,594 |
Available-for-sale securities: |  |  |
Total investments | 4,273,368 | 1,945,881 |
Level 2 |  |  |
Fair value measurement |  |  |
Cash and cash equivalents | 0 | 0 |
Funds held for clients' cash and cash equivalents | 0 | 0 |
Available-for-sale securities: |  |  |
Total available-for-sale securities | 147,664 | 20,539 |
Total investments | 147,664 | 20,539 |
Commercial paper |  |  |
Available-for-sale securities: |  |  |
Total available-for-sale securities | 49,327 |  |
Commercial paper | Level 2 |  |  |
Available-for-sale securities: |  |  |
Total available-for-sale securities | 49,327 |  |
Corporate bonds |  |  |
Available-for-sale securities: |  |  |
Total available-for-sale securities | 53,319 | 13,460 |
Corporate bonds | Level 2 |  |  |
Available-for-sale securities: |  |  |
Total available-for-sale securities | 53,319 | 13,460 |
Asset-backed securities |  |  |
Available-for-sale securities: |  |  |
Total available-for-sale securities | 7,947 | 7,079 |
Asset-backed securities | Level 2 |  |  |
Available-for-sale securities: |  |  |
Total available-for-sale securities | 7,947 | $ 7,079 |
Certificates of deposit |  |  |
Available-for-sale securities: |  |  |
Total available-for-sale securities | 23,735 |  |
Certificates of deposit | Level 2 |  |  |
Available-for-sale securities: |  |  |
Total available-for-sale securities | 23,735 |  |
U.S. treasury securities |  |  |
Available-for-sale securities: |  |  |
Total available-for-sale securities | 3,946 |  |
U.S. treasury securities | Level 2 |  |  |
Available-for-sale securities: |  |  |
Total available-for-sale securities | 3,946 |  |
U.S government agency securities |  |  |
Available-for-sale securities: |  |  |
Total available-for-sale securities | 6,628 |  |
U.S government agency securities | Level 2 |  |  |
Available-for-sale securities: |  |  |
Total available-for-sale securities | 6,628 |  |
Other |  |  |
Available-for-sale securities: |  |  |
Total available-for-sale securities | 2,762 |  |
Other | Level 2 |  |  |
Available-for-sale securities: |  |  |
Total available-for-sale securities | $ 2,762 |  |

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 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(6)) -URI http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878 Reference 2: 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=124258926&loc=SL82898722-210454 Reference 3: 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=124260329&loc=d3e26610-111562 Reference 4: 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=123581744&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=123570139&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=124098289&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=120391452&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 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=120400017&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_FairValueInputsLevel3Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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_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_CertificatesOfDepositMember
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: |

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

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