Quarterly report pursuant to Section 13 or 15(d)

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

v3.22.2.2
Organization and Summary of Significant Accounting Policies - Narrative (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2022
Sep. 30, 2021
Sep. 30, 2022
Sep. 30, 2021
Dec. 31, 2021
Organization, Consolidation and Presentation of Financial Statements [Abstract]          
Accumulated deficit $ 1,503,468   $ 1,503,468   $ 1,181,134
Net cash used in operating activities     44,903 $ 66,353  
Cash and cash equivalents 38,529 $ 38,667 38,529 38,667 128,556
Inventory [Line Items]          
Impairment of product sales inventory     31,769 0  
Total revenues 72,859 61,108 174,999 141,008  
Deferred revenue 74,608   74,608   62,439
Impairment of contractual deposits     14,700    
Impairment of long lived assets     89,400    
Product sales          
Inventory [Line Items]          
Impairment of product sales inventory 0 0 31,769 0  
Total revenues $ 4,094 1,379 12,762 8,806  
Sharing | Revision of Prior Period, Error Correction, Adjustment          
Inventory [Line Items]          
Total revenues   $ (4,300) $ (12,500) $ (10,100)  
Deferred revenue         $ 19,100