XML 42 R35.htm IDEA: XBRL DOCUMENT v3.19.3.a.u2
Fair Value Measurement - Summary of Fair Value of Assets and Liabilities Measured on Recurring Basis (Details) - Fair Value Measurements, Recurring - USD ($)
$ in Thousands
Dec. 31, 2019
Jun. 30, 2019
Assets    
Cash equivalents $ 136,873  
Short-term investments 68,135 $ 71,969
Funds held for customers 906,589 862,626
Total assets measured at fair value 1,111,597 948,313
Liabilities    
Redeemable convertible preferred stock warrant liabilities   688
Total liabilities measured at fair value   688
Money Market Funds    
Assets    
Cash equivalents 136,873 13,718
Certificates of Deposit    
Assets    
Funds held for customers 106,011 105,377
Level 1    
Assets    
Cash equivalents 136,873  
Short-term investments 42,686 64,758
Funds held for customers 424,377 455,179
Total assets measured at fair value 603,936 533,655
Level 1 | Money Market Funds    
Assets    
Cash equivalents 136,873 13,718
Level 2    
Assets    
Short-term investments 25,449 7,211
Funds held for customers 482,212 407,447
Total assets measured at fair value 507,661 414,658
Level 2 | Certificates of Deposit    
Assets    
Funds held for customers 106,011 105,377
Level 3    
Liabilities    
Redeemable convertible preferred stock warrant liabilities   688
Total liabilities measured at fair value   688
Corporate Bonds    
Assets    
Short-term investments 17,382 4,787
Funds held for customers 303,773 302,070
Corporate Bonds | Level 2    
Assets    
Short-term investments 17,382 4,787
Funds held for customers 303,773 302,070
U.S. Treasury Securities    
Assets    
Short-term investments 42,686 64,758
Funds held for customers 19,191 30,960
U.S. Treasury Securities | Level 1    
Assets    
Short-term investments 42,686 64,758
Funds held for customers 19,191 30,960
Asset-Backed Securities    
Assets    
Short-term investments 8,067 2,424
Asset-Backed Securities | Level 2    
Assets    
Short-term investments 8,067 2,424
Restricted Cash Equivalents    
Assets    
Funds held for customers 477,614 424,219
Restricted Cash Equivalents | Level 1    
Assets    
Funds held for customers 405,186 $ 424,219
Restricted Cash Equivalents | Level 2    
Assets    
Funds held for customers $ 72,428