Quarterly report pursuant to Section 13 or 15(d)

Organization and Summary of Significant Accounting Policies - Restatement (Details)

v3.22.2.2
Organization and Summary of Significant Accounting Policies - Restatement (Details) - USD ($)
$ / shares in Units, $ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2022
Mar. 31, 2022
Jun. 30, 2021
Mar. 31, 2021
Jun. 30, 2022
Jun. 30, 2021
Dec. 31, 2021
Dec. 31, 2020
[2]
Statement of Financial Position [Abstract]                
Deferred revenue $ 69,171       $ 69,171   $ 62,439  
Total current liabilities 261,696       261,696   153,052  
Total liabilities 267,535       267,535   295,530  
Accumulated deficit (1,493,703)       (1,493,703)   (1,181,134)  
Income Statement [Abstract]                
Total revenues 66,765   $ 55,654   102,139 $ 79,901    
Total cost of revenues 90,007   45,505   124,562 69,135    
Gross margin (23,242)   10,149   (22,423) 10,766    
Loss from operations (341,140)   (31,590)   (440,535) (71,158)    
Loss before income taxes (Restated) (320,232)   (49,166)   (312,448) (125,958)    
General and administrative [1] 84,393   31,765   169,043 61,144    
Total operating expenses [1] 317,898   41,739   418,112 81,924    
Net loss $ (320,316) $ 7,748 $ (49,276) $ (76,812) $ (312,569) $ (126,088)    
Loss per share attributable to common stockholders, basic (dollars per share) $ (1.18)   $ (1.12)   $ (1.15) $ (2.79)    
Loss per share attributable to common stockholders, diluted (dollars per share) $ (1.18)   $ (1.12)   $ (1.15) $ (2.79)    
Statement of Comprehensive Income [Abstract]                
Total comprehensive income (loss) $ (331,879)   $ (48,541)   $ (328,605) $ (127,678)    
Statement of Stockholders' Equity [Abstract]                
Net income (loss) (320,316) 7,748 (49,276) (76,812) (312,569) (126,088)    
Total stockholders’ equity 63,784 351,976 (996,678) (943,110) 63,784 (996,678) 301,731 $ (863,863)
Statement of Cash Flows [Abstract]                
Prepaid expenses and other current assets         (13,332) (8,628)    
Deferred revenue         6,106 7,487    
Accrued expenses and other current liabilities         9,703 8,731    
Effect of exchange rate changes on cash         3,498 3,832    
Net cash used in operating activities         (47,141) (45,599)    
Accumulated Deficit                
Income Statement [Abstract]                
Net loss (320,316) 7,748 (49,276) (76,812)        
Statement of Stockholders' Equity [Abstract]                
Net income (loss) (320,316) 7,748 (49,276) (76,812)        
Total stockholders’ equity (1,493,703) (1,173,386) (1,092,298) (1,043,022) (1,493,703) (1,092,298) (1,181,134) (966,210)
Accumulated Other Comprehensive Income (Loss)                
Statement of Stockholders' Equity [Abstract]                
Total stockholders’ equity (8,498) $ 3,065 8,103 $ 7,368 (8,498) 8,103 7,538 $ 9,693
Sharing                
Income Statement [Abstract]                
Total revenues 62,498   52,248   93,471 72,474    
Cost of sharing, exclusive of depreciation 34,086   30,531   55,472 44,929    
Gross margin 9,988   10,176   10,635 10,987    
Previously Reported                
Statement of Financial Position [Abstract]                
Deferred revenue 37,576       37,576   43,345  
Total current liabilities 230,101       230,101   133,958  
Total liabilities 235,940       235,940   276,436  
Accumulated deficit (1,462,108)       (1,462,108)   (1,162,040)  
Income Statement [Abstract]                
Total revenues 76,662   60,044   114,640 85,714    
Total cost of revenues 90,007   44,305   124,562 67,935    
Gross margin (13,345)   15,739   (9,922) 17,779    
Loss from operations (331,243)   (26,000)   (428,034) (64,956)    
Loss before income taxes (Restated) (310,335)   (43,576)   (299,947) (119,756)    
General and administrative         169,043 61,955    
Total operating expenses         418,112 82,735    
Net loss $ (310,419)   $ (43,686)   $ (300,068) $ (119,886)    
Loss per share attributable to common stockholders, basic (dollars per share) $ (1.14)   $ (1.01)   $ (1.11) $ (2.67)    
Loss per share attributable to common stockholders, diluted (dollars per share) $ (1.14)   $ (1.01)   $ (1.11) $ (2.67)    
Statement of Comprehensive Income [Abstract]                
Total comprehensive income (loss) $ (321,982)   $ (42,951)   $ (316,104) $ (121,476)    
Statement of Stockholders' Equity [Abstract]                
Net income (loss) (310,419)   (43,686)   (300,068) (119,886)    
Total stockholders’ equity 95,379   (986,661)   95,379 (986,661) 320,825  
Statement of Cash Flows [Abstract]                
Deferred revenue         (6,395) 1,674    
Accrued expenses and other current liabilities         9,703 8,342    
Net cash used in operating activities         (47,141) (45,599)    
Previously Reported | Accumulated Deficit                
Statement of Stockholders' Equity [Abstract]                
Total stockholders’ equity (1,462,108)   (1,085,593)   (1,462,108) (1,085,593)    
Previously Reported | Accumulated Other Comprehensive Income (Loss)                
Statement of Stockholders' Equity [Abstract]                
Total stockholders’ equity (8,498)   11,415   (8,498) 11,415    
Previously Reported | Sharing                
Income Statement [Abstract]                
Total revenues 72,395   56,638   105,972 78,287    
Cost of sharing, exclusive of depreciation 34,086   29,331   55,472 43,729    
Gross margin 19,885   15,766   23,136 18,000    
Restatement Adjustment                
Statement of Financial Position [Abstract]                
Deferred revenue 31,595       31,595   19,094  
Total current liabilities 31,595       31,595   19,094  
Total liabilities 31,595       31,595   19,094  
Accumulated deficit (31,595)       (31,595)   (19,094)  
Income Statement [Abstract]                
Total revenues (9,897)   (4,390)   (12,501) (5,813)    
Total cost of revenues 0   1,200   0 1,200    
Gross margin (9,897)   (5,590)   (12,501) (7,013)    
Loss from operations (9,897)   (5,590)   (12,501) (6,202)    
Loss before income taxes (Restated) (9,897)   (5,590)   (12,501) (6,202)    
General and administrative         0 (811)    
Total operating expenses         0 (811)    
Net loss $ (9,897)   $ (5,590)   $ (12,501) $ (6,202)    
Loss per share attributable to common stockholders, basic (dollars per share) $ (0.04)   $ (0.11)   $ (0.04) $ (0.12)    
Loss per share attributable to common stockholders, diluted (dollars per share) $ (0.04)   $ (0.11)   $ (0.04) $ (0.12)    
Statement of Comprehensive Income [Abstract]                
Total comprehensive income (loss) $ (9,897)   $ (5,590)   $ (12,501) $ (6,202)    
Statement of Stockholders' Equity [Abstract]                
Net income (loss) (9,897)   (5,590)   (12,501) (6,202)    
Total stockholders’ equity (31,595)   (10,017)   (31,595) (10,017) $ (19,094)  
Statement of Cash Flows [Abstract]                
Deferred revenue         12,501 5,813    
Accrued expenses and other current liabilities         0 389    
Net cash used in operating activities         0 0    
Restatement Adjustment | Accumulated Deficit                
Statement of Stockholders' Equity [Abstract]                
Total stockholders’ equity (31,595)   (6,705)   (31,595) (6,705)    
Restatement Adjustment | Accumulated Other Comprehensive Income (Loss)                
Statement of Stockholders' Equity [Abstract]                
Total stockholders’ equity 0   (3,312)   0 (3,312)    
Restatement Adjustment | Sharing                
Income Statement [Abstract]                
Total revenues (9,897)   (4,390)   (12,501) (5,813)    
Cost of sharing, exclusive of depreciation 0   1,200   0 1,200    
Gross margin $ (9,897)   $ (5,590)   $ (12,501) $ (7,013)    
[1]
Three Months Ended June 30, Six Months Ended June 30,
2022 2021 2022 2021
General and administrative 38,433  989  83,111  2,093 
Sales and marketing 625  102  1,466  281 
Research and development 4,592  192  7,777  394 
Stock-based compensation expense $ 43,650  $ 1,283  $ 92,354  $ 2,768 
[2] Shares of preferred stock and common stock have been retroactively restated to give effect to the Business Combination.