XML 40 R30.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Revenue - Deferred Contract Costs (Details) - USD ($) $ in Thousands | 3 Months Ended | 6 Months Ended
--- | --- | ---
Dec. 31, 2021 | Dec. 31, 2020 | Dec. 31, 2021 | Dec. 31, 2020
Deferred contract costs |  |  |  |
Amortization period of capitalized contract costs | 7 years |  | 7 years |
Beginning Balance | $ 226,007 | $ 168,452 | $ 214,893 | $ 158,043
Capitalized Costs | 28,029 | 22,214 | 50,706 | 41,215
Amortization | (12,357) | (9,192) | (23,920) | (17,784)
Ending Balance | 241,679 | 181,474 | 241,679 | 181,474
Costs to obtain a new contract |  |  |  |
Deferred contract costs |  |  |  |
Beginning Balance | 149,222 | 118,644 | 145,718 | 113,575
Capitalized Costs | 14,929 | 14,071 | 26,666 | 25,711
Amortization | (8,587) | (6,898) | (16,820) | (13,469)
Ending Balance | 155,564 | 125,817 | 155,564 | 125,817
Costs to fulfill a contract |  |  |  |
Deferred contract costs |  |  |  |
Beginning Balance | 76,785 | 49,808 | 69,175 | 44,468
Capitalized Costs | 13,100 | 8,143 | 24,040 | 15,504
Amortization | (3,770) | (2,294) | (7,100) | (4,315)
Ending Balance | $ 86,115 | $ 55,657 | $ 86,115 | $ 55,657

X
- Definition Amount of capitalized contract costs added during the period. + References No definition available. + Details
Name: | pcty_CapitalizedContractCostAdditions
Namespace Prefix: | pcty_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of amortization expense for asset recognized from cost incurred to obtain or fulfill contract with customer. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 340 -SubTopic 40 -Section 50 -Paragraph 3 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=123353750&loc=SL49131252-203054 + Details
Name: | us-gaap_CapitalizedContractCostAmortization
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amortization period of cost capitalized in obtaining or fulfilling contract with customer, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 340 -SubTopic 40 -Section 50 -Paragraph 2 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=123353750&loc=SL49131251-203054 + Details
Name: | us-gaap_CapitalizedContractCostAmortizationPeriod
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount, after accumulated amortization and accumulated impairment loss, of asset recognized from cost incurred to obtain or fulfill contract with customer. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 340 -SubTopic 40 -Section 50 -Paragraph 3 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=123353750&loc=SL49131252-203054 + Details
Name: | us-gaap_CapitalizedContractCostNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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

X
- Details
Name: | us-gaap_CapitalizedContractCostAxis=pcty_CostsToObtainANewContractMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CapitalizedContractCostAxis=pcty_CostsToFulfillAContractMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |