Quarterly report pursuant to Section 13 or 15(d)

WARRANTS - Additional Information (Details)

v3.21.2
WARRANTS - Additional Information (Details)
3 Months Ended 6 Months Ended 12 Months Ended
Mar. 17, 2021
employee
$ / shares
shares
Nov. 20, 2020
shares
Oct. 15, 2020
USD ($)
shares
Jul. 22, 2019
$ / shares
shares
Jun. 05, 2019
$ / shares
shares
Jun. 29, 2018
$ / shares
shares
Oct. 16, 2015
$ / shares
shares
Jun. 30, 2021
USD ($)
$ / shares
shares
Mar. 31, 2021
Jun. 30, 2020
USD ($)
$ / shares
shares
Mar. 31, 2020
Jun. 30, 2021
USD ($)
$ / shares
shares
Jun. 30, 2020
USD ($)
$ / shares
shares
Dec. 31, 2020
$ / shares
shares
Dec. 31, 2019
$ / shares
shares
Class of Warrant or Right [Line Items]                              
Expected annual dividend yield                       0.00%      
Warrants outstanding (in shares) 5,900,000                            
Number of shares of common stock entitled to be purchased by each warrant (in shares) 1                            
Common stock, par value (in usd per share) | $ / shares $ 11.50             $ 0.001       $ 0.001      
Weighted average remaining contractual term (years) 5 years                            
Warrants redemption price (in usd per share) | $ / shares $ 0.01                            
Warrants written notice of redemption threshold 30 days                            
Earnout stock price trigger (in usd per share) | $ / shares $ 18.00                            
Earnout period, threshold trading days | employee 20                            
Earnout period, threshold trading day period | employee 30                            
Earnout period, business days prior to notice of redemption 3 days                            
Class B Preferred Units                              
Class of Warrant or Right [Line Items]                              
Warrants issued (in shares)             211,000                
Warrants exercise price (in usd per share) | $ / shares             $ 1.00     $ 1.00     $ 1.00   $ 1.00
Number of warrants available to purchase, percent             5.00%                
Ownership threshold, percent             2.50%                
Warrants exercised (in shares)     211,000                   0    
Warrants exercised proceeds | $     $ 1                        
Warrants, fair value | $     18,170,000                        
Loss on warrants exercised | $     $ 211,000                        
Expense recognized | $                       $ 0 $ 1,780,000    
Warrants outstanding (in shares)                   211,000     211,000   211,000
Weighted average remaining contractual term (years)                         3 years 9 months 14 days   4 years 3 months 14 days
Class B-1 Preferred Units                              
Class of Warrant or Right [Line Items]                              
Warrants issued (in shares)       5,000 8,000                    
Warrants exercise price (in usd per share) | $ / shares       $ 37.61 $ 37.61     $ 0   $ 37.61   $ 0 $ 37.61 $ 37.61 $ 37.61
Warrants exercised (in shares)                       0 0    
Expense recognized | $                       $ 0 $ 0    
Warrants outstanding (in shares)               0   5,000   0 5,000 5,000 5,000
Weighted average remaining contractual term (years)                         4 years 21 days 3 years 6 months 21 days 4 years 6 months 21 days
Class C Profits Units                              
Class of Warrant or Right [Line Items]                              
Warrants issued (in shares)           144,000                  
Warrants exercise price (in usd per share) | $ / shares           $ 37.605                  
Common Stock                              
Class of Warrant or Right [Line Items]                              
Warrants issued (in shares)   971,000                          
Warrants exercise price (in usd per share) | $ / shares               $ 5.56   $ 5.56   $ 5.56 $ 5.56 $ 5.56 $ 5.56
Warrants exercised (in shares)                       0 0    
Expense recognized | $               $ 0   $ 0   $ 15,000,000.0 $ 0    
Warrants outstanding (in shares)               971,000   971,000   971,000 971,000 971,000 971,000
Weighted average remaining contractual term (years)                 4 years   5 years 3 years 6 months 4 years 6 months    
Public Warrants                              
Class of Warrant or Right [Line Items]                              
Warrants outstanding (in shares)               5,700,000       5,700,000      
Private warrants                              
Class of Warrant or Right [Line Items]                              
Warrants outstanding (in shares)               200,000       200,000