Annual report pursuant to Section 13 and 15(d)

Subsequent Events (Details)

v3.22.0.1
Subsequent Events (Details)
$ in Thousands
1 Months Ended 12 Months Ended
Jan. 31, 2022
USD ($)
a
shares
Dec. 31, 2021
USD ($)
shares
Dec. 31, 2020
USD ($)
shares
Dec. 31, 2019
USD ($)
Subsequent Event [Line Items]        
Proceeds from the sale of stock   $ 684,817 $ 264,727 $ 24,825
Annual lease payments   1,000    
Restricted Stock [Member]        
Subsequent Event [Line Items]        
Proceeds from the sale of stock   $ 5,100 $ 450  
Restricted Stock [Member] | Members of our board of directors and an employee of Company [Member]        
Subsequent Event [Line Items]        
Stock issued during period | shares   464,021 2,048,096  
Number of shares held to cover withholding taxes related to the settlement of restricted stock units | shares   174,685 193,881  
Subsequent Event [Member]        
Subsequent Event [Line Items]        
Restricted stocks granted | shares 43,149      
Restricted stocks granted, value $ 800      
Arear of land | a 100      
Additional annual payments $ 900      
Annual lease payments $ 1,000      
Agreement period 12 years      
Agreement commencement date Apr. 30, 2021      
Expire initial lease term Jan. 31, 2032      
Subsequent Event [Member] | 0% Series B Convertible Preferred Stock [Member]        
Subsequent Event [Line Items]        
Number of shares of common stock issuable upon conversion | shares 2,199      
Subsequent Event [Member] | Performance based restricted stock units [Member]        
Subsequent Event [Line Items]        
Restricted stocks granted | shares 365,500      
Restricted stocks granted, value $ 7,300      
Subsequent Event [Member] | Restricted Stock [Member]        
Subsequent Event [Line Items]        
Number of shares held to cover withholding taxes related to the settlement of restricted stock units | shares 414,441      
Proceeds from the sale of stock $ 8,200      
Subsequent Event [Member] | Restricted Stock [Member] | Members of our board of directors and an employee of Company [Member]        
Subsequent Event [Line Items]        
Stock issued during period | shares 937,530