XML 77 R52.htm IDEA: XBRL DOCUMENT v3.22.4
Financial Instruments - Schedule of Cash Equivalents and Marketable Securities (Details) - USD ($)
$ in Thousands
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Restricted cash and cash equivalents:        
Total cash, cash equivalents, and restricted cash $ 1,505,688 $ 1,066,599 $ 1,293,947 $ 147,096
Level 1        
Restricted cash and cash equivalents:        
Restricted cash, amortized cost 20,604 10,823    
Restricted cash, fair value 20,604 10,823    
Total cash, cash equivalents, and restricted cash 806,348 83,961    
Restricted cash and cash equivalents, fair value 806,348 83,961    
Short-term investments:        
Amortized Cost 101,711      
Unrealized Gains 0      
Unrealized Losses 0      
Short-term investments 101,711      
Level 2        
Short-term investments:        
Amortized Cost   682,291    
Unrealized Gains   22    
Unrealized Losses   (990)    
Short-term investments   681,323    
Money market funds | Level 1        
Restricted cash and cash equivalents:        
Money market funds, amortized cost 373,619 73,138    
Money market funds, fair value 373,619 73,138    
Time deposits | Level 1        
Restricted cash and cash equivalents:        
Money market funds, amortized cost 412,125      
Money market funds, fair value 412,125      
Short-term deposits | Level 1        
Short-term investments:        
Amortized Cost 101,711      
Unrealized Gains 0      
Unrealized Losses 0      
Short-term investments $ 101,711      
Commercial paper | Level 2        
Short-term investments:        
Amortized Cost   59,792    
Unrealized Gains   0    
Unrealized Losses   0    
Short-term investments   59,792    
Asset-backed securities | Level 2        
Short-term investments:        
Amortized Cost   40,965    
Unrealized Gains   0    
Unrealized Losses   (23)    
Short-term investments   40,942    
Corporate bonds | Level 2        
Short-term investments:        
Amortized Cost   237,735    
Unrealized Gains   20    
Unrealized Losses   (353)    
Short-term investments   237,402    
U.S. treasury securities | Level 2        
Short-term investments:        
Amortized Cost   272,678    
Unrealized Gains   1    
Unrealized Losses   (379)    
Short-term investments   272,300    
Supranational bonds | Level 2        
Short-term investments:        
Amortized Cost   71,121    
Unrealized Gains   1    
Unrealized Losses   (235)    
Short-term investments   $ 70,887