XML 42 R28.htm IDEA: XBRL DOCUMENT
v3.20.2

Corporate Investments and Funds Held For Clients (Tables) | 12 Months Ended
--- | ---
Jun. 30, 2020
Corporate Investments and Funds Held for Clients |
Schedule of corporate investments and funds held for clients | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | June 30, 2019
​ | ​ | ​ | ​ | ​ | Gross | ​ | Gross | ​ | ​ | ​
​ | ​ | Amortized | ​ | unrealized | ​ | unrealized | ​ | ​
Type of Issue | ​ | cost | ​ | gains |  | losses |  | Fair value
Cash and cash equivalents | ​ | $ | 132,478 | ​ | $ | — | ​ | $ | (2) | ​ | $ | 132,476
Funds held for clients' cash and cash equivalents | ​ | ​ | 1,293,673 | ​ | ​ | — | ​ | ​ | (6) | ​ | ​ | 1,293,667
Available-for-sale securities: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Commercial paper | ​ | ​ | 63,397 | ​ | ​ | 33 | ​ | ​ | (2) | ​ | ​ | 63,428
Corporate bonds | ​ | ​ | 27,044 | ​ | ​ | 59 | ​ | ​ | (4) | ​ | ​ | 27,099
Asset-backed securities | ​ | ​ | 26,488 | ​ | ​ | 55 | ​ | ​ | (3) | ​ | ​ | 26,540
U.S. treasury securities | ​ | ​ | 13,736 | ​ | ​ | 21 | ​ | ​ | — | ​ | ​ | 13,757
Total available-for-sale securities (1) | ​ | ​ | 130,665 | ​ | ​ | 168 | ​ | ​ | (9) | ​ | ​ | 130,824
Total investments | ​ | $ | 1,556,816 | ​ | $ | 168 | ​ | $ | (17) | ​ | $ | 1,556,967
​
| (1) | Included within the fair value of total available-for-sale securities above is $30,022 of Corporate investments and $100,802 of Funds held for clients.
​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | June 30, 2020
​ | ​ | ​ | ​ | ​ | Gross | ​ | Gross | ​ | ​ | ​
​ | ​ | Amortized | ​ | unrealized | ​ | unrealized | ​ | ​
Type of Issue | ​ | cost | ​ | gains |  | losses |  | Fair value
Cash and cash equivalents | ​ | $ | 250,851 | ​ | $ | — | ​ | $ | — | ​ | $ | 250,851
Funds held for clients' cash and cash equivalents | ​ | ​ | 1,241,282 | ​ | ​ | — | ​ | ​ | — | ​ | ​ | 1,241,282
Available-for-sale securities: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Commercial paper | ​ | ​ | 6,643 | ​ | ​ | 6 | ​ | ​ | — | ​ | ​ | 6,649
Corporate bonds | ​ | ​ | 44,343 | ​ | ​ | 414 | ​ | ​ | — | ​ | ​ | 44,757
Asset-backed securities | ​ | ​ | 49,978 | ​ | ​ | 424 | ​ | ​ | — | ​ | ​ | 50,402
U.S. treasury securities | ​ | ​ | 21,302 | ​ | ​ | 67 | ​ | ​ | — | ​ | ​ | 21,369
Total available-for-sale securities (2) | ​ | ​ | 122,266 | ​ | ​ | 911 | ​ | ​ | — | ​ | ​ | 123,177
Total investments | ​ | $ | 1,614,399 | ​ | $ | 911 | ​ | $ | — | ​ | $ | 1,615,310
​
| (2) | Included within the fair value of total available-for-sale securities above is $37,155 of Corporate investments and $86,022 of Funds held for clients.
Schedule of the classification of investments | ​
​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | June 30, | ​ | June 30,
​ | ​ | 2019 |  | 2020
Cash and cash equivalents | ​ | $ | 132,476 | ​ | $ | 250,851
Corporate investments | ​ | ​ | 29,314 | ​ | ​ | 34,556
Funds held for clients | ​ | ​ | 1,394,469 | ​ | ​ | 1,327,304
Long-term prepaid expenses and other | ​ | ​ | 708 | ​ | ​ | 2,599
Total investments | ​ | $ | 1,556,967 | ​ | $ | 1,615,310
Schedule of available-for-sale securities that have been in an unrealized loss position for less than and greater than 12 months | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | June 30, 2019
​ | ​ | Securities in an | ​ | Securities in an | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | unrealized loss | ​ | unrealized loss | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | position for less | ​ | position for greater | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | than 12 months | ​ | than 12 months | ​ | Total
​ | ​ | Gross | ​ | ​ | ​ | Gross | ​ | ​ | ​ | Gross | ​ | ​
​ | ​ | unrealized | ​ | ​ | ​ | ​ | unrealized | ​ | ​ | ​ | ​ | unrealized | ​ | ​ | ​
​ | ​ | losses | ​ | Fair value | ​ | losses | ​ | Fair value | ​ | losses | ​ | Fair value
Commercial paper | ​ | $ | (2) | ​ | $ | 19,055 | ​ | $ | — | ​ | $ | — | ​ | $ | (2) | ​ | $ | 19,055
Corporate bonds | ​ | ​ | (1) | ​ | ​ | 1,500 | ​ | ​ | (3) | ​ | ​ | 3,701 | ​ | ​ | (4) | ​ | ​ | 5,201
Asset-backed securities | ​ | ​ | (1) | ​ | ​ | 386 | ​ | ​ | (2) | ​ | ​ | 2,958 | ​ | ​ | (3) | ​ | ​ | 3,344
Total available-for-sale securities | ​ | $ | (4) | ​ | $ | 20,941 | ​ | $ | (5) | ​ | $ | 6,659 | ​ | $ | (9) | ​ | $ | 27,600
Schedule of expected maturities of available-for-sale securities | ​
​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | Amortized | ​ | ​
​ | ​ | cost | ​ | Fair value
One year or less | ​ | $ | 106,647 | ​ | $ | 107,293
One year to two years | ​ | ​ | 15,619 | ​ | ​ | 15,884
Total available-for-sale securities | ​ | $ | 122,266 | ​ | $ | 123,177

X
- Definition n/a + References No definition available. + Details
Name: | pcty_FundsHeldForClientsAndCorporateInvestmentsAbstract
Namespace Prefix: | pcty_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of investments by classification. + References No definition available. + Details
Name: | pcty_InvestmentByClassificationTableTextBlock
Namespace Prefix: | pcty_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of fair value of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in unrealized loss position, without allowance for credit loss. Includes beneficial interest in securitized financial asset. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 55 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=118942371&loc=SL82922954-210456 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 6 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=118939692&loc=d3e27290-111563 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 50 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=118955579&loc=SL82922888-210455 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionFairValueTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of investment. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 325 -URI http://asc.fasb.org/topic&trid=2197064 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 321 -URI http://asc.fasb.org/topic&trid=75115024 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -URI http://asc.fasb.org/topic&trid=2196928 Reference 4: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 323 -URI http://asc.fasb.org/topic&trid=2196965 + Details
Name: | us-gaap_InvestmentTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of maturities of an entity's investments as well as any other information pertinent to the investments. + References No definition available. + Details
Name: | us-gaap_InvestmentsClassifiedByContractualMaturityDateTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration