XML 57 R42.htm IDEA: XBRL DOCUMENT v3.20.2
Fair Value Measurement - Summary of Fair Value of Assets and Liabilities Measured on Recurring Basis (Details) - Fair Value, Recurring - USD ($)
$ in Thousands
Jun. 30, 2020
Jun. 30, 2019
Assets    
Short-term investments $ 123,974 $ 71,969
Funds held for customers 1,062,493 862,626
Total assets measured at fair value 1,206,542 948,313
Liabilities    
Redeemable convertible preferred stock warrant liabilities   688
Total liabilities measured at fair value   688
Money Market Funds    
Assets    
Cash equivalents 20,075 13,718
U.S. Treasury Securities    
Assets    
Short-term investments 28,368 64,758
Funds held for customers 48,952 30,960
Corporate Bonds    
Assets    
Short-term investments 71,131 4,787
Funds held for customers 493,879 302,070
Asset-Backed Securities    
Assets    
Short-term investments 24,475 2,424
Restricted Cash Equivalents    
Assets    
Funds held for customers 433,709 424,219
Certificates of Deposit    
Assets    
Funds held for customers 85,953 105,377
Level 1    
Assets    
Short-term investments 28,368 64,758
Funds held for customers 406,302 455,179
Total assets measured at fair value 454,745 533,655
Level 1 | Money Market Funds    
Assets    
Cash equivalents 20,075 13,718
Level 1 | U.S. Treasury Securities    
Assets    
Short-term investments 28,368 64,758
Funds held for customers 48,952 30,960
Level 1 | Restricted Cash Equivalents    
Assets    
Funds held for customers 357,350 424,219
Level 2    
Assets    
Short-term investments 95,606 7,211
Funds held for customers 656,191 407,447
Total assets measured at fair value 751,797 414,658
Level 2 | Corporate Bonds    
Assets    
Short-term investments 71,131 4,787
Funds held for customers 493,879 302,070
Level 2 | Asset-Backed Securities    
Assets    
Short-term investments 24,475 2,424
Level 2 | Restricted Cash Equivalents    
Assets    
Funds held for customers 76,359  
Level 2 | Certificates of Deposit    
Assets    
Funds held for customers $ 85,953 105,377
Level 3    
Liabilities    
Redeemable convertible preferred stock warrant liabilities   688
Total liabilities measured at fair value   $ 688