XML 60 R44.htm IDEA: XBRL DOCUMENT v3.22.4
SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Details)
$ in Thousands
1 Months Ended 12 Months Ended
Jan. 31, 2023
USD ($)
position
Dec. 31, 2022
USD ($)
revenueCategory
Dec. 31, 2021
USD ($)
Dec. 31, 2020
USD ($)
New Accounting Pronouncements or Change in Accounting Principle [Line Items]        
Net Cash Provided by (Used in) Operating Activities   $ (135,987) $ (123,958) $ (63,598)
Cash and cash equivalents   $ 281,279 $ 498,726 $ 850,587
Number of revenue category | revenueCategory   3    
2022 Restructuring Plan, Second Phase | Subsequent Event        
New Accounting Pronouncements or Change in Accounting Principle [Line Items]        
Number of planned additional employee termination | position 500      
Expected annualized cost savings $ 100,000      
Internally-developed software        
New Accounting Pronouncements or Change in Accounting Principle [Line Items]        
Intangible assets, useful life   2 years    
Minimum        
New Accounting Pronouncements or Change in Accounting Principle [Line Items]        
Intangible assets, useful life   1 year    
Contract with third party merchants, term   12 months    
Minimum | Computer hardware and purchased software        
New Accounting Pronouncements or Change in Accounting Principle [Line Items]        
Useful life of property and equipment   3 years    
Minimum | Office Equipment        
New Accounting Pronouncements or Change in Accounting Principle [Line Items]        
Useful life of property and equipment   3 years    
Minimum | Furniture and fixtures and other        
New Accounting Pronouncements or Change in Accounting Principle [Line Items]        
Useful life of property and equipment   3 years    
Maximum        
New Accounting Pronouncements or Change in Accounting Principle [Line Items]        
Intangible assets, useful life   10 years    
Contract with third party merchants, term   18 months    
Maximum | Computer hardware and purchased software        
New Accounting Pronouncements or Change in Accounting Principle [Line Items]        
Useful life of property and equipment   5 years    
Maximum | Office Equipment        
New Accounting Pronouncements or Change in Accounting Principle [Line Items]        
Useful life of property and equipment   5 years    
Maximum | Furniture and fixtures and other        
New Accounting Pronouncements or Change in Accounting Principle [Line Items]        
Useful life of property and equipment   5 years