Annual report pursuant to Section 13 and 15(d)

CAPITAL STOCK - Preferred Shares (Details)

v3.22.1
CAPITAL STOCK - Preferred Shares (Details)
$ / shares in Units, $ in Thousands
1 Months Ended 12 Months Ended
Jul. 31, 2020
USD ($)
investor
$ / shares
shares
Apr. 30, 2020
USD ($)
$ / shares
shares
Dec. 31, 2021
USD ($)
shares
Dec. 31, 2020
USD ($)
shares
Class of Stock [Line Items]        
Preferred stock, shares issued (in shares)     0 0
Preferred stock, shares outstanding (in shares)     0 0
Accretion of Class D preferred shares to liquidation preference on automatic conversion | $     $ 0 $ 10,219
Private Placement | Preferred Shares | Series E Financing | Three Investors        
Class of Stock [Line Items]        
Number of investors | investor 3      
Private Placement | Common Shares        
Class of Stock [Line Items]        
Conversion ratio 1      
Private Placement | Additional Paid-in Capital        
Class of Stock [Line Items]        
Accretion of Class D preferred shares to liquidation preference on automatic conversion | $     $ 10,219  
Series D Preferred Stock        
Class of Stock [Line Items]        
Conversion of common stock (in shares)       3,571,591
Series D Preferred Stock | Private Placement        
Class of Stock [Line Items]        
Preferred stock, liquidation preference, multiplier 1.4      
Preferred stock, liquidation preference, initial period, multiplier 1 year      
Preferred stock, liquidation preference, quarterly increase, multiplier 0.02      
Series D Preferred Stock | Private Placement | Maximum        
Class of Stock [Line Items]        
Preferred stock, liquidation preference, multiplier 1.75      
Series D Preferred Stock | Private Placement | Series E Financing        
Class of Stock [Line Items]        
Consideration received on transaction | $ $ 4,000 $ 14,396    
Sale of stock, consideration received per transaction | $   $ 7,771    
Series D Preferred Stock | Private Placement | Preferred Shares        
Class of Stock [Line Items]        
Price per share (USD per share) | $ / shares $ 11.00      
Series D Preferred Stock | Private Placement | Preferred Shares | Series E Financing        
Class of Stock [Line Items]        
Number of shares issued in transaction (in shares) 363,636 1,308,733    
Price per share (USD per share) | $ / shares $ 11.00 $ 11.00    
Payments of stock issuance costs | $   $ 375    
Series D Preferred Stock | Private Placement | Preferred Shares | Series E Financing | Three Investors        
Class of Stock [Line Items]        
Conversion of common stock (in shares) 646,846      
Series D Preferred Stock | Private Placement | Common Shares        
Class of Stock [Line Items]        
Issued (in shares)     3,571,591  
Series D Preferred Stock | Private Placement | Common Shares | Series E Financing        
Class of Stock [Line Items]        
Issued (in shares) 559,999 2,015,449    
Series D Preferred Stock | Private Placement | Common Shares | Series E Financing | Three Investors        
Class of Stock [Line Items]        
Issued (in shares) 996,143      
Series C Preferred Stock        
Class of Stock [Line Items]        
Conversion of common stock (in shares)       1,456,439
Series C Preferred Stock | Private Placement | Series E Financing        
Class of Stock [Line Items]        
Payments for repurchase of redeemable preferred stock | $   $ 6,250    
Series C Preferred Stock | Private Placement | Preferred Shares | Series E Financing        
Class of Stock [Line Items]        
Price per share (USD per share) | $ / shares   $ 8.79    
Purchase and cancellation of stock (in shares)   711,035    
Series C Preferred Stock | Private Placement | Preferred Shares | Series E Financing | Three Investors        
Class of Stock [Line Items]        
Conversion of common stock (in shares) 848,363      
Series C Preferred Stock | Private Placement | Common Shares | Series E Financing        
Class of Stock [Line Items]        
Issued (in shares)   233,788    
Series C Preferred Stock | Private Placement | Common Shares | Series E Financing | Three Investors        
Class of Stock [Line Items]        
Issued (in shares) 278,942