Annual report pursuant to Section 13 and 15(d)

FAIR VALUE MEASUREMENTS - Assets and Liability measured on recurring basis (Details)

v3.22.4
FAIR VALUE MEASUREMENTS - Assets and Liability measured on recurring basis (Details)
$ in Thousands
12 Months Ended
Dec. 31, 2022
USD ($)
Dec. 31, 2021
USD ($)
item
Dec. 31, 2020
USD ($)
Assets      
Unrealized [(gain)/loss] due to the change in fair value of the equity securities $ (6,332) $ (9,660)  
Subscription liability 500    
Other investments in convertible debt instruments 2,000 6,800  
Recognized gains on convertible debt instruments 1,600 100  
Repayment in full of outstanding convertible debt instruments 542    
Change in fair value of contingent consideration 1,567 429  
Change in fair value of warrant liabilities   $ 56,576 $ (56,417)
Transfers from Level 1 to Level 2 0    
Transfers from Level 2 to Level 1 0    
Transfer into Level 3 0    
Transfer out of Level 3 0    
Number of transfers between level 1 and level 3 | item   1  
Subscription Agreement      
Assets      
Recognized loss on investments in equity securities 2,400    
Recognized losses on equity investment 12,600    
Private Placement Warrants      
Assets      
Change in fair value of warrant liabilities   $ (56,600) 56,400
Convertible Notes      
Assets      
Repayment in full of outstanding convertible debt instruments 3,100    
Level 3      
Movement in Level 3 assets measured at fair value      
Balance at beginning of period 6,750 3,000  
Additions   23,620  
Changes in fair value (1,650) (12,450)  
Disposals (3,100)    
Transfers to Level 1   (7,420)  
Balance at end of period 2,000 6,750 3,000
Movement in Level 3 liabilities measured at fair value      
Balance at beginning of period 5,654 93,328  
Payment of contingent consideration liability (1,500)    
Changes in fair value (1,567) 58,592  
Additions   6,558  
Disposals   (2,920)  
Exercise of private placement warrants   (149,904)  
Balance at end of period 2,587 5,654 $ 93,328
Recurring      
Assets      
Total assets 161,517 257,840  
Total liabilities 2,587 5,654  
Recurring | Contingent Consideration      
Assets      
Total liabilities 2,587 5,654  
Recurring | Money market funds      
Assets      
Total assets 51,274 46,521  
Recurring | Commercial paper      
Assets      
Total assets 39,781 70,401  
Recurring | Corporate bonds      
Assets      
Total assets 28,814 65,617  
Recurring | Government bonds      
Assets      
Total assets 14,744 36,476  
Recurring | Asset-backed securities      
Assets      
Total assets 3,998 24,655  
Recurring | Equity securities      
Assets      
Total assets 1,088 7,420  
Recurring | Other investments      
Assets      
Total assets 2,000 6,750  
Recurring | U.S Treasury securities      
Assets      
Total assets 19,818    
Recurring | Level 1      
Assets      
Total assets 52,362 53,941  
Recurring | Level 1 | Money market funds      
Assets      
Total assets 51,274 46,521  
Recurring | Level 1 | Equity securities      
Assets      
Total assets 1,088 7,420  
Recurring | Level 2      
Assets      
Total assets 107,155 197,149  
Recurring | Level 2 | Commercial paper      
Assets      
Total assets 39,781 70,401  
Recurring | Level 2 | Corporate bonds      
Assets      
Total assets 28,814 65,617  
Recurring | Level 2 | Government bonds      
Assets      
Total assets 14,744 36,476  
Recurring | Level 2 | Asset-backed securities      
Assets      
Total assets 3,998 24,655  
Recurring | Level 2 | U.S Treasury securities      
Assets      
Total assets 19,818    
Recurring | Level 3      
Assets      
Total assets 2,000 6,750  
Total liabilities 2,587 5,654  
Recurring | Level 3 | Contingent Consideration      
Assets      
Total liabilities 2,587 5,654  
Recurring | Level 3 | Other investments      
Assets      
Total assets $ 2,000 $ 6,750