v3.19.3
CUSTOMER FUNDS (Tables)
9 Months Ended
Sep. 30, 2019
Investments, Debt and Equity Securities [Abstract]  
Assets Underlying Customer Funds

The following table presents the assets underlying customer funds (in thousands):

 
September 30,
2019
 
December 31,
2018
Cash
$
407,719

 
$
158,697

Cash Equivalents:
 
 
 
Money market funds
388

 
18

U.S. agency securities
21,667

 
39,991

U.S. government securities
6,999

 
35,349

Short-term debt securities:
 
 
 
U.S. agency securities
1,654

 
27,291

U.S. government securities
222,172

 
72,671

Total
$
660,599

 
$
334,017


Investments within Customer Funds
The Company's investments within customer funds as of December 31, 2018 are as follows (in thousands):

 
Amortized Cost
 
Gross Unrealized Gains
 
Gross Unrealized Losses
 
Fair Value
Short-term debt securities:
 
 
 
 
 
 
 
U.S. agency securities
$
27,293

 
$
2

 
$
(4
)
 
$
27,291

U.S. government securities
72,662

 
12

 
(3
)
 
72,671

Total
$
99,955

 
$
14

 
$
(7
)
 
$
99,962


The Company's investments within customer funds as of September 30, 2019 are as follows (in thousands):

 
Amortized Cost
 
Gross Unrealized Gains
 
Gross Unrealized Losses
 
Fair Value
Short-term debt securities:
 
 
 
 
 
 
 
U.S. agency securities
$
1,657

 
$

 
$
(3
)
 
$
1,654

U.S. government securities
222,193

 
39

 
(60
)
 
222,172

Total
$
223,850

 
$
39

 
$
(63
)
 
$
223,826


Contractual Maturities of Investments within Customer Funds
The contractual maturities of the Company's short-term and long-term investments as of September 30, 2019 are as follows (in thousands):

 
Amortized Cost
 
Fair Value
Due in one year or less
$
557,380

 
$
557,656

Due in one to five years
564,889

 
564,508

Total
$
1,122,269

 
$
1,122,164


The contractual maturities of the Company's investments within customer funds as of September 30, 2019 are as follows (in thousands):

 
Amortized Cost
 
Fair Value
Due in one year or less
$
223,850

 
$
223,826

Total
$
223,850

 
$
223,826