Annual report pursuant to Section 13 and 15(d)

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

v3.21.1
Basis of Presentation and Summary of Significant Accounting Policies - Recapitalization (Details)
$ in Thousands
12 Months Ended
Dec. 21, 2020
item
shares
Aug. 16, 2020
shares
Dec. 31, 2020
USD ($)
shares
Dec. 31, 2019
USD ($)
shares
Dec. 31, 2018
USD ($)
shares
Reclassification [Line Items]          
Number Of Previous Conversions | item 3        
Adjustment To Additional Paid In Capital Contingent Earnout Shares Liability | $     $ (248,878)    
Conversion of Stock, Shares Converted 110,300,000 17,900,000      
Stock conversion, shares received per share converted 1.239434862        
Retroactive Application of Merger Recapitalization, Share       5,728,731  
Weighted Average Number of Shares Outstanding, Basic and Diluted     110,378,000 73,524,511  
Conversion Of Stock, Angel Shares [Member]          
Reclassification [Line Items]          
Conversion of Stock, Shares Converted 41,400,000 41,400,000      
Stock conversion, shares received per share converted 1.24 0.54      
Shares, Outstanding         51,316,627
Weighted Average Number of Shares Outstanding, Basic and Diluted         51,316,627
Number Of Days Shares Were Outstanding During Period       366 days  
Weighting Percentage       100.00%  
Conversion Of Stock, Seed Shares Issued March 4 2019 [Member]          
Reclassification [Line Items]          
Stock conversion, shares received per share converted 1.24 0.54      
Conversion of Stock, Shares Issued       11,107,496  
Weighted Average Number of Shares Outstanding, Basic and Diluted       9,195,550  
Number Of Days Shares Were Outstanding During Period       303 days  
Weighting Percentage       83.00%  
Conversion Of Stock, Seed Shares Issued May 6 2019 [Member]          
Reclassification [Line Items]          
Stock conversion, shares received per share converted 1.24 0.54      
Conversion of Stock, Shares Issued       11,107,495  
Weighted Average Number of Shares Outstanding, Basic and Diluted       7,283,603  
Number Of Days Shares Were Outstanding During Period       240 days  
Weighting Percentage       66.00%  
Conversion Of Stock, Convertible Debt [Member]          
Reclassification [Line Items]          
Conversion of Stock, Shares Converted 51,000,000.0 51,000,000.0 51,000,000.0    
Stock conversion, shares received per share converted 1.24        
Common Stock          
Reclassification [Line Items]          
Conversion of Stock, Shares Converted 136,800,000        
Shares, Outstanding     235,753,000 108,838,000 75,669,000
Common Stock | Conversion Of Stock, Angel Shares [Member]          
Reclassification [Line Items]          
Conversion of Stock, Shares Issued         51,316,627
Common Stock | Conversion Of Stock, Seed Shares Issued March 4 2019 [Member]          
Reclassification [Line Items]          
Conversion of Stock, Shares Issued       11,107,496  
Common Stock | Conversion Of Stock, Seed Shares Issued May 6 2019 [Member]          
Reclassification [Line Items]          
Conversion of Stock, Shares Issued       11,107,495  
Common Stock | Conversion Of Stock, Convertible Debt [Member]          
Reclassification [Line Items]          
Conversion of debt, shares issued         63,219,362
Revision of Prior Period, Reclassification, Adjustment [Member]          
Reclassification [Line Items]          
Weighted Average Number of Shares Outstanding, Basic and Diluted       5,728,731  
Revision of Prior Period, Reclassification, Adjustment [Member] | Conversion Of Stock, Convertible Debt [Member]          
Reclassification [Line Items]          
Conversion of Stock, Shares Converted         51,006,603
Conversion of debt, shares issued     63,200,000    
Revision of Prior Period, Reclassification, Adjustment [Member] | Common Stock          
Reclassification [Line Items]          
Retroactive Application of Merger Recapitalization, Share       22,215,000  
Shares, Outstanding         51,317,000
Revision of Prior Period, Reclassification, Adjustment [Member] | Common Stock | Conversion Of Stock, Angel Shares [Member]          
Reclassification [Line Items]          
Shares, Outstanding         51,300,000
Revision of Prior Period, Reclassification, Adjustment [Member] | Redeemable convertible preference shares - Angel Series          
Reclassification [Line Items]          
Temporary Equity, Carrying Amount, Attributable to Parent | $         $ (100,000)
Temporary Equity, Shares Outstanding         (77,000,000)
Revision of Prior Period, Reclassification, Adjustment [Member] | Redeemable convertible preference shares - Seed Series          
Reclassification [Line Items]          
Temporary Equity, Stock Issued During Period, Value, New Issues | $       $ (100,000)  
Temporary Equity, Stock Issued During Period, Shares, New Issues       (33,333,000)  
Previously Reported          
Reclassification [Line Items]          
Temporary Equity, Stock Issued During Period, Shares, New Issues       33,300,000  
Weighted Average Number of Shares Outstanding, Basic and Diluted       4,622,051  
Previously Reported | Conversion Of Stock, Angel Shares [Member]          
Reclassification [Line Items]          
Temporary Equity, Shares Outstanding         77,000,000.0
Previously Reported | Conversion Of Stock, Seed Shares Issued March 4 2019 [Member]          
Reclassification [Line Items]          
Temporary Equity, Stock Issued During Period, Shares, New Issues       16,700,000  
Previously Reported | Conversion Of Stock, Seed Shares Issued May 6 2019 [Member]          
Reclassification [Line Items]          
Temporary Equity, Stock Issued During Period, Shares, New Issues       16,666,666  
Previously Reported | Common Stock          
Reclassification [Line Items]          
Shares, Outstanding         24,352,000
Previously Reported | Redeemable convertible preference shares - Angel Series          
Reclassification [Line Items]          
Temporary Equity, Carrying Amount, Attributable to Parent | $         $ 100,000
Temporary Equity, Shares Outstanding         77,000,000
Previously Reported | Redeemable convertible preference shares - Seed Series          
Reclassification [Line Items]          
Temporary Equity, Stock Issued During Period, Value, New Issues | $       $ 100,000  
Temporary Equity, Stock Issued During Period, Shares, New Issues       33,333,000  
A Series Redeemable Convertible Preference Shares          
Reclassification [Line Items]          
Conversion of Stock, Shares Issued   59,300,000      
Redeemable Convertible Preference Shares | Previously Reported | Conversion Of Stock, Angel Shares [Member]          
Reclassification [Line Items]          
Temporary Equity, Shares Outstanding         77,000,000
Redeemable Convertible Preference Shares | Previously Reported | Conversion Of Stock, Seed Shares Issued March 4 2019 [Member]          
Reclassification [Line Items]          
Temporary Equity, Stock Issued During Period, Shares, New Issues       16,666,667  
Redeemable Convertible Preference Shares | Previously Reported | Conversion Of Stock, Seed Shares Issued May 6 2019 [Member]          
Reclassification [Line Items]          
Temporary Equity, Stock Issued During Period, Shares, New Issues       16,666,666  
Redeemable convertible preference shares - Angel Series          
Reclassification [Line Items]          
Conversion of Stock, Shares Issued   77,000,000.0      
Redeemable convertible preference shares - Angel Series | Revision of Prior Period, Reclassification, Adjustment [Member] | Conversion Of Stock, Angel Shares [Member]          
Reclassification [Line Items]          
Conversion of Stock, Shares Converted         41,403,247
Redeemable convertible preference shares - Seed Series          
Reclassification [Line Items]          
Conversion of Stock, Shares Issued   33,300,000      
Seed Series Redeemable Convertible Preference Shares Tranche 1 [Member] | Revision of Prior Period, Reclassification, Adjustment [Member] | Conversion Of Stock, Seed Shares Issued March 4 2019 [Member]          
Reclassification [Line Items]          
Conversion of Stock, Shares Converted       8,961,742  
Seed Series Redeemable Convertible Preference Shares Tranche 2 [Member] | Revision of Prior Period, Reclassification, Adjustment [Member] | Conversion Of Stock, Seed Shares Issued May 6 2019 [Member]          
Reclassification [Line Items]          
Conversion of Stock, Shares Converted       8,961,741