Annual report pursuant to Section 13 and 15(d)

Basis of Presentation and Summary of Significant Accounting Policies - Recapitalization (Details)

v3.22.0.1
Basis of Presentation and Summary of Significant Accounting Policies - Recapitalization (Details)
12 Months Ended
Dec. 21, 2020
item
shares
Aug. 16, 2020
shares
Mar. 04, 2019
shares
Dec. 31, 2020
shares
Dec. 31, 2019
shares
Dec. 31, 2018
shares
Reclassification [Line Items]            
Number of previous conversions | item 3          
Exchange ratio 1.239434862          
Shares converted (in shares) 110,300,000 17,900,000        
Conversion Of Stock, Angel Shares            
Reclassification [Line Items]            
Exchange ratio 1.24 0.54        
Shares converted (in shares) 41,400,000 41,400,000        
Conversion Of Stock, Seed Shares Issued March 4 2019            
Reclassification [Line Items]            
Exchange ratio 1.24 0.54        
Conversion Of Stock, Seed Shares Issued May 6 2019            
Reclassification [Line Items]            
Exchange ratio 1.24 0.54        
Conversion Of Stock, Convertible Debt            
Reclassification [Line Items]            
Exchange ratio 1.24          
Shares converted (in shares) 51,000,000 51,000,000        
Common Stock            
Reclassification [Line Items]            
Shares converted (in shares) 136,800,000          
Common Stock | Conversion Of Stock, Angel Shares            
Reclassification [Line Items]            
Conversion of stock (in shares)       51,300,000 51,316,627  
Common Stock | Conversion Of Stock, Seed Shares Issued March 4 2019            
Reclassification [Line Items]            
Conversion of stock (in shares)         11,107,496  
Common Stock | Conversion Of Stock, Seed Shares Issued May 6 2019            
Reclassification [Line Items]            
Conversion of stock (in shares)         11,107,495  
Common Stock | Conversion Of Stock, Convertible Debt            
Reclassification [Line Items]            
Conversion of debt (in shares)       63,200,000 63,219,362  
Adjustments | Conversion Of Stock, Convertible Debt            
Reclassification [Line Items]            
Shares converted (in shares)         51,006,603  
Adjustments | Common Stock            
Reclassification [Line Items]            
Retroactive application of merger recapitalization (in shares)       22,200,000    
Redeemable Convertible Preference Shares | As Previously Reported | Conversion Of Stock, Angel Shares            
Reclassification [Line Items]            
Temporary equity, shares outstanding           77,000,000
Redeemable Convertible Preference Shares | As Previously Reported | Conversion Of Stock, Seed Shares Issued March 4 2019            
Reclassification [Line Items]            
Issuance of redeemable convertible preference shares (shares)     16,700,000   16,666,667  
Redeemable Convertible Preference Shares | As Previously Reported | Conversion Of Stock, Seed Shares Issued May 6 2019            
Reclassification [Line Items]            
Issuance of redeemable convertible preference shares (shares)     16,700,000   16,666,666  
Redeemable convertible preference shares - Angel Series            
Reclassification [Line Items]            
Conversion of stock (in shares)   77,000,000        
Redeemable convertible preference shares - Angel Series | Adjustments | Conversion Of Stock, Angel Shares            
Reclassification [Line Items]            
Shares converted (in shares)         41,403,247  
Seed Series Redeemable Convertible Preference Shares Tranche 1 | Adjustments | Conversion Of Stock, Seed Shares Issued March 4 2019            
Reclassification [Line Items]            
Shares converted (in shares)         8,961,742  
Seed Series Redeemable Convertible Preference Shares Tranche 2 | Adjustments | Conversion Of Stock, Seed Shares Issued May 6 2019            
Reclassification [Line Items]            
Shares converted (in shares)         8,961,741