XML 52 R39.htm IDEA: XBRL DOCUMENT v3.24.0.1
Short-Term Investments and Funds Held for Customers - Summary of Fair Value of Funds Held For Customers (Details) - USD ($)
$ in Thousands
Dec. 31, 2023
Jun. 30, 2023
Short-term investments:    
Amortized cost $ 972,374 $ 1,046,830
Gross unrealized gains 1,137 257
Gross unrealized losses (890) (3,977)
Short-term investments 972,621 1,043,110
Funds held for customers:    
Amortized cost 652,240 847,012
Gross unrealized gains 260 25
Gross unrealized losses (115) (633)
Fair value 652,385 846,404
Certificates of deposit    
Funds held for customers:    
Amortized cost   233,290
Gross unrealized gains   1
Gross unrealized losses   0
Fair value   233,291
Corporate bonds    
Short-term investments:    
Amortized cost 424,195 481,658
Gross unrealized gains 730 207
Gross unrealized losses (491) (2,382)
Short-term investments 424,434 479,483
Funds held for customers:    
Amortized cost 338,702 433,936
Gross unrealized gains 158 18
Gross unrealized losses (5) (34)
Fair value 338,855 433,920
U.S. treasury securities    
Short-term investments:    
Amortized cost 372,372 409,586
Gross unrealized gains 170 42
Gross unrealized losses (345) (1,260)
Short-term investments 372,197 408,368
Funds held for customers:    
Amortized cost 182,375 81,309
Gross unrealized gains 102 1
Gross unrealized losses (47) (236)
Fair value 182,430 81,074
Asset-backed securities    
Short-term investments:    
Amortized cost 71,536 51,321
Gross unrealized gains 217 8
Gross unrealized losses (29) (136)
Short-term investments 71,724 51,193
Funds held for customers:    
Amortized cost 30,824 70,993
Gross unrealized gains 0 0
Gross unrealized losses (53) (332)
Fair value 30,771 70,661
Certificates of deposit    
Short-term investments:    
Amortized cost 58,811 46,099
Gross unrealized gains 0 0
Gross unrealized losses 0 0
Short-term investments 58,811 46,099
Funds held for customers:    
Amortized cost 86,490  
Gross unrealized gains 0  
Gross unrealized losses 0  
Fair value 86,490  
U.S. agency securities    
Short-term investments:    
Amortized cost 45,460 58,166
Gross unrealized gains 20 0
Gross unrealized losses (25) (199)
Short-term investments 45,455 57,967
Funds held for customers:    
Amortized cost 13,849 27,484
Gross unrealized gains 0 5
Gross unrealized losses (10) (31)
Fair value $ 13,839 $ 27,458