v3.22.4
SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Narrative (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Significant Accounting Policies [Line Items]    
General payment terms upon completion of performance obligation 30 days  
Cash and cash equivalents $ 217,482 $ 257,413
Software    
Significant Accounting Policies [Line Items]    
Estimated useful life (in years) 3 years  
Held outside the United States    
Significant Accounting Policies [Line Items]    
Cash and cash equivalents $ 204,700 $ 217,100
Maximum    
Significant Accounting Policies [Line Items]    
Typical contract term 1 year  
Transportation services    
Significant Accounting Policies [Line Items]    
General payment terms upon completion of performance obligation 30 days  
Value-added logistics services    
Significant Accounting Policies [Line Items]    
General payment terms upon completion of performance obligation 30 days  
Sourcing services | Minimum    
Significant Accounting Policies [Line Items]    
General payment terms upon completion of performance obligation 20 days  
Sourcing services | Maximum    
Significant Accounting Policies [Line Items]    
General payment terms upon completion of performance obligation 30 days  
Logistics and transportation    
Significant Accounting Policies [Line Items]    
General payment terms upon completion of performance obligation 30 days  
Logistics and transportation | Maximum    
Significant Accounting Policies [Line Items]    
Typical contract term 1 year  
Stock awards | Minimum    
Significant Accounting Policies [Line Items]    
Stock award vesting period (in years) 3 years  
Stock awards | Maximum    
Significant Accounting Policies [Line Items]    
Stock award vesting period (in years) 5 years  
Restricted shares and restricted stock units | Minimum    
Significant Accounting Policies [Line Items]    
Shares and restricted units grants, discount for post-vesting holding restrictions (percent) 12.00%  
Restricted shares and restricted stock units | Maximum    
Significant Accounting Policies [Line Items]    
Shares and restricted units grants, discount for post-vesting holding restrictions (percent) 24.00%