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
Mar. 31, 2022
Mar. 31, 2021
Dec. 31, 2021
Dec. 31, 2020
[1]
Statement of Financial Position [Abstract]        
Deferred revenue $ 64,454   $ 62,439  
Total current liabilities 181,804   153,052  
Liabilities 215,073   295,530  
Accumulated deficit (1,173,386) $ (1,043,022) (1,181,134)  
Total stockholders' equity 351,976 (943,110) 301,731 $ (863,863)
Income Statement [Abstract]        
Total revenues 35,375 24,247    
Gross margin 820 617    
General and administrative 84,650 29,379    
Total operating expenses 100,214 40,185    
Loss from operations (99,394) (39,568)    
Income (loss) before income taxes 7,785 (76,792)    
Net income (loss) $ 7,748 $ (76,812)    
Earnings per share: Basic (dollars per share) $ 0.03 $ (1.70)    
Earnings per share: diluted (dollars per share) $ 0.03 $ (1.70)    
Statement of Comprehensive Income [Abstract]        
Total comprehensive loss, net of tax $ 3,275 $ (79,137)    
Statement of Stockholders' Equity [Abstract]        
Net income (loss) 7,748 (76,812)    
Accumulated other comprehensive income 3,065 7,368 7,538  
Accumulated deficit (1,173,386) (1,043,022) (1,181,134)  
Statement of Cash Flows [Abstract]        
Deferred revenue 2,129 2,801    
Accrued expenses and other current liabilities 3,952 (2,270)    
Net cash used in operating activities (42,565) (36,337)    
Sharing        
Income Statement [Abstract]        
Total revenues 30,974 20,226    
Previously Reported        
Statement of Financial Position [Abstract]        
Deferred revenue 42,757   43,345  
Total current liabilities 160,107   133,958  
Liabilities 193,376   276,436  
Accumulated deficit (1,151,689) (1,041,907) (1,162,040)  
Total stockholders' equity 373,673 (938,683) 320,825  
Income Statement [Abstract]        
Total revenues 37,978 25,670    
Gross margin 3,423 2,040    
Net income (loss) $ 10,351 $ (76,200)    
Earnings per share: Basic (dollars per share) $ 0.04 $ (1.69)    
Earnings per share: diluted (dollars per share) $ 0.04 $ (1.69)    
Statement of Comprehensive Income [Abstract]        
Total comprehensive loss, net of tax $ 5,878 $ (78,525)    
Statement of Stockholders' Equity [Abstract]        
Net income (loss) 10,351 (76,200)    
Accumulated other comprehensive income 3,065 10,680    
Accumulated deficit (1,151,689) (1,041,907) (1,162,040)  
Statement of Cash Flows [Abstract]        
Deferred revenue (474) 1,378    
Accrued expenses and other current liabilities 3,952 (1,459)    
Net cash used in operating activities (42,565) (36,337)    
Previously Reported | Sharing        
Income Statement [Abstract]        
Total revenues 33,577 21,649    
General and administrative 84,650 30,190    
Total operating expenses 100,214 40,996    
Loss from operations (96,791) (38,956)    
Income (loss) before income taxes 10,388 (76,180)    
Restatement Adjustment        
Statement of Financial Position [Abstract]        
Deferred revenue 21,697 19,100 19,094  
Total current liabilities 21,697   19,094  
Liabilities 21,697   19,094  
Accumulated deficit (21,697) (1,115) (19,094)  
Total stockholders' equity (21,697) (4,427) (19,094)  
Income Statement [Abstract]        
Total revenues (2,603) (1,423)    
Gross margin (2,603) (1,423)    
Net income (loss) $ (2,603) $ (612)    
Earnings per share: Basic (dollars per share) $ (0.01) $ (0.01)    
Earnings per share: diluted (dollars per share) $ (0.01) $ (0.01)    
Statement of Comprehensive Income [Abstract]        
Total comprehensive loss, net of tax $ (2,603) $ (612)    
Statement of Stockholders' Equity [Abstract]        
Net income (loss) (2,603) (612)    
Accumulated other comprehensive income 0 (3,312)    
Accumulated deficit (21,697) (1,115) $ (19,094)  
Statement of Cash Flows [Abstract]        
Deferred revenue 2,603 1,423    
Accrued expenses and other current liabilities 0 (811)    
Net cash used in operating activities 0 0    
Restatement Adjustment | Sharing        
Income Statement [Abstract]        
Total revenues (2,603) (1,423)    
General and administrative 0 (811)    
Total operating expenses 0 (811)    
Loss from operations (2,603) (612)    
Income (loss) before income taxes $ (2,603) $ (612)    
[1] Shares of preferred stock and common stock have been retroactively restated to give effect to the Business Combination.