v3.24.2.u1
Balance Sheet Components - Schedule of Property and Equipment, Net (Details) - USD ($)
$ in Thousands
Jun. 30, 2024
Dec. 31, 2023
Property Plant And Equipment [Line Items]    
Property and equipment, gross $ 384,492 $ 387,618
Less: Accumulated depreciation and amortization (144,457) (123,062)
Property and equipment, net 240,035 264,556
Computers and equipment    
Property Plant And Equipment [Line Items]    
Property and equipment, gross 50,669 51,320
Leasehold improvements    
Property Plant And Equipment [Line Items]    
Property and equipment, gross 291,105 292,418
Internal-use software    
Property Plant And Equipment [Line Items]    
Property and equipment, gross 5,916 6,980
Office equipment and furniture    
Property Plant And Equipment [Line Items]    
Property and equipment, gross $ 36,802 $ 36,900