Annual report pursuant to Section 13 and 15(d)

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

v3.22.0.1
FAIR VALUE MEASUREMENTS - Assets and Liability measured on recurring basis (Details)
$ in Thousands
12 Months Ended
Dec. 31, 2021
USD ($)
item
Dec. 31, 2020
USD ($)
item
Assets    
Level 1 to Level 2 transfer   $ 0
Level 2 to Level 1 transfer   0
Transfer into Level 3   0
Transfer out of Level 3   $ 0
Number of transfers between level 1 and level 3 | item 1 1
Other investments in convertible debt instruments $ 6,800  
Recognized gains on convertible debt instruments 100  
Recognized loss on investments in equity securities 9,700  
Change in fair value of warrant liabilities 56,576 $ (56,417)
Change in fair value of contingent consideration 429  
Subscription liability 500  
Subscription Agreement    
Assets    
Recognized losses on equity investment 12,600  
Recognized loss on investments in equity securities 2,400  
Private Placement Warrants    
Assets    
Change in fair value of warrant liabilities (56,600) 56,400
Level 3    
Movement in Level 3 assets measured at fair value    
Balance at beginning of period 3,000  
Additions 23,620 3,000
Changes in fair value (12,450)  
Transfers to Level 1 (7,420)  
Balance at end of period 6,750 3,000
Movement in Level 3 liabilities measured at fair value    
Balance at beginning of period 93,328  
Additions 6,558 149,745
Changes in fair value 58,592 (56,417)
Exercise of private placement warrants (149,904)  
Disposals (2,920)  
Balance at end of period 5,654 93,328
Recurring    
Assets    
Total assets 257,841 597,753
Total liabilities 5,654 93,328
Recurring | Contingent Consideration    
Assets    
Total liabilities 5,654  
Recurring | Private Placement Warrants    
Assets    
Total liabilities   93,328
Recurring | Money market funds    
Assets    
Total assets 46,521 407,512
Recurring | Commercial paper    
Assets    
Total assets 70,401 119,285
Recurring | Corporate bonds    
Assets    
Total assets 65,617 47,959
Recurring | Government bonds    
Assets    
Total assets 36,476  
Recurring | Assetbacked securities    
Assets    
Total assets 24,656  
Recurring | Equity securities    
Assets    
Total assets 7,420  
Recurring | Other investments    
Assets    
Total assets 6,750 3,000
Recurring | U.S Treasury securities    
Assets    
Total assets   19,997
Recurring | Level 1    
Assets    
Total assets 53,941 427,509
Recurring | Level 1 | Money market funds    
Assets    
Total assets 46,521 407,512
Recurring | Level 1 | Equity securities    
Assets    
Total assets 7,420  
Recurring | Level 1 | U.S Treasury securities    
Assets    
Total assets   19,997
Recurring | Level 2    
Assets    
Total assets 197,150 167,244
Recurring | Level 2 | Commercial paper    
Assets    
Total assets 70,401 119,285
Recurring | Level 2 | Corporate bonds    
Assets    
Total assets 65,617 47,959
Recurring | Level 2 | Government bonds    
Assets    
Total assets 36,476  
Recurring | Level 2 | Assetbacked securities    
Assets    
Total assets 24,656  
Recurring | Level 3    
Assets    
Total assets 6,750 3,000
Total liabilities 5,654 93,328
Recurring | Level 3 | Contingent Consideration    
Assets    
Total liabilities 5,654  
Recurring | Level 3 | Private Placement Warrants    
Assets    
Total liabilities   93,328
Recurring | Level 3 | Other investments    
Assets    
Total assets $ 6,750 $ 3,000