XML 40 R29.htm IDEA: XBRL DOCUMENT
v3.21.2

Revenue - Deferred contract costs (Details) - USD ($) $ in Thousands | 3 Months Ended
--- | ---
Sep. 30, 2021 | Sep. 30, 2020
Deferred contract costs |  |
Amortization period of capitalized contract costs | 7 years |
Beginning Balance | $ 214,893 | $ 158,043
Capitalized Costs | 22,677 | 19,002
Amortization | (11,563) | (8,593)
Ending Balance | 226,007 | 168,452
Costs to obtain a new contract |  |
Deferred contract costs |  |
Beginning Balance | 145,718 | 113,575
Capitalized Costs | 11,737 | 11,641
Amortization | (8,233) | (6,572)
Ending Balance | 149,222 | 118,644
Costs to fulfill a contract |  |
Deferred contract costs |  |
Beginning Balance | 69,175 | 44,468
Capitalized Costs | 10,940 | 7,361
Amortization | (3,330) | (2,021)
Ending Balance | $ 76,785 | $ 49,808

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_CostToObtainNewContractMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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