XML 58 R24.htm IDEA: XBRL DOCUMENT v3.22.1
Balance Sheet Components - Schedule of Property and Equipment, Net (Details) - USD ($)
$ in Thousands
Mar. 31, 2022
Dec. 31, 2021
Property Plant And Equipment [Line Items]    
Property and equipment, gross $ 54,977 $ 60,469
Accumulated depreciation and amortization (24,249) (24,416)
Property and equipment, net 30,728 36,053
Electronic equipment    
Property Plant And Equipment [Line Items]    
Property and equipment, gross 13,661 12,761
Office and other equipment    
Property Plant And Equipment [Line Items]    
Property and equipment, gross 9,959 9,423
Vehicles    
Property Plant And Equipment [Line Items]    
Property and equipment, gross 18,701 21,043
Leasehold improvements    
Property Plant And Equipment [Line Items]    
Property and equipment, gross 10,245 11,984
Buildings    
Property Plant And Equipment [Line Items]    
Property and equipment, gross 1,841 0
Construction in progress    
Property Plant And Equipment [Line Items]    
Property and equipment, gross $ 570 $ 5,258