v3.23.2
Revisions of Previously Issued Financial Statements - Revisions for Product Return Reserve Errors and Other Immaterial Corrections (Details) - USD ($)
$ / shares in Units, $ in Thousands
3 Months Ended 6 Months Ended 9 Months Ended 12 Months Ended
Dec. 31, 2022
Sep. 30, 2022
Jun. 30, 2022
Mar. 31, 2022
Jun. 30, 2020
Jun. 30, 2022
Sep. 30, 2022
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Dec. 12, 2018
Consolidated Balance Sheet                        
Inventories $ 21,568 $ 45,242 $ 40,226 $ 41,098   $ 40,226 $ 45,242 $ 21,568 $ 36,628      
Accounts receivable, net 40,284 23,269 82,002 65,358   82,002 23,269 40,284 51,581      
Prepaid expenses and other current assets 32,864 28,940         28,940 32,864 33,140      
Total current assets 185,182 242,212 308,250 305,139   308,250 242,212 185,182 271,149      
Goodwill 59,044 59,044 59,044 59,044   59,044 59,044 59,044 59,044      
Other long-term assets, net 5,372 25,941         25,941 5,372 50,421      
Total assets 356,054 444,251 529,882 541,799   529,882 444,251 356,054 529,347      
Accrued expenses and other current liabilities 75,777 92,528 95,005 114,243   95,005 92,528 75,777 109,014      
Total current liabilities 129,536 193,129 237,401 258,497   237,401 193,129 129,536 261,051      
Other non-current liabilities 15,717 83,100 74,610 83,141   74,610 83,100 15,717 84,212      
Total liabilities 350,824 435,992 470,946 519,221   470,946 435,992 350,824 455,339      
Accumulated deficit (1,557,025) (1,550,955) (1,496,859) (1,526,308)   (1,496,859) (1,550,955) (1,557,025) (1,462,799)      
Total stockholder' equity 5,230             5,230 74,008 $ 244,354 $ 392,877  
Total liabilities and stockholders' equity 356,054 444,251 529,882 541,799   529,882 444,251 356,054 529,347      
Consolidated Statements of Operations and Comprehensive Loss                        
Total revenues               292,484 211,650 294,644    
Cost of goods sold, product   29,270   23,105   32,694 61,965 49,526 114,629 149,435    
Cost of goods sold, amortization of intangible asset               36,042 36,042 32,617    
Cost of goods sold, impairment of intangible asset         $ 114,400     0 0 114,425    
Research and development   28,028         97,888 129,986 147,852 218,485    
Selling, general and administrative   31,887 32,240 44,566   76,806 108,693 138,601 174,140 154,099    
Operating income (loss)   (50,404) 34,075 (59,581)   (25,504) (75,911) (80,779) (264,502) (377,826)    
Net income (loss)   (54,095) 29,449 (63,509)   (34,058) (88,156) (94,226) (282,024) (384,841)    
Comprehensive income (loss)   $ (54,095) $ 29,449 $ (63,509)   $ (34,058) $ (88,156) $ (94,226) $ (282,031) $ (384,828)    
Earnings per share - basic (in dollars per share)   $ (0.29) $ 0.16 $ (0.35)   $ (0.19) $ (0.48) $ (0.52) $ (1.70) $ (2.78)    
Earnings per share - diluted (in dollars per share)   $ (0.29) $ 0.15 $ (0.35)   $ (0.19) $ (0.48) $ (0.52) $ (1.70) $ (2.78)    
Condensed Consolidated Statement of Stockholders' (Deficit) Equity                        
Accumulated deficit 5,230             $ 5,230 $ 74,008 $ 244,354 392,877  
Net income (loss)   $ (54,095) $ 29,449 $ (63,509)   $ (34,058) $ (88,156) (94,226) (282,024) (384,841)    
Consolidated Statement of Cash Flows                        
Net loss       (63,509)   (34,058) (88,156) (94,226) (282,024) (384,841)    
Adjustments to reconcile net loss to net cash used in operating activities:                        
Amortization of intangible asset               36,043 36,043 32,617    
Intangible asset impairment charge               0 0 114,425    
Change in excess inventory purchase commitments (74,300)     0   4,854 14,095 (65,946) 30,337 25,114    
Write-down of inventories               30,242 15,049 20,641    
Changes in operating assets and liabilities:                        
Accounts receivable       (13,778)   (30,421) 28,312 11,297 (24,027) 11,669    
Inventories       (8,490)   (4,362) (5,365) 19,087 (24,947) 6,163    
Prepaid expenses and other current assets             9,798 1,058 (18,658) (8,119)    
Other long-term assets       3,966   10,012 21,031 (5,623) 5,674 (2,779)    
Accrued expenses and other current liabilities       7,386   (19,464) (21,533) (38,005) (22,080) 6,259    
Other non-current liabilities       (3,191)   (8,622)   2,277 (13,169) 1,254    
Net cash used in operating activities       (21,620)   (52,280) (18,475) (73,154) (252,965) (110,388)    
Accumulated Deficit                         
Consolidated Balance Sheet                        
Total stockholder' equity (1,557,025) (1,550,955) (1,496,859) (1,526,308)   (1,496,859) (1,550,955) (1,557,025) (1,462,799) (1,180,775) (795,934)  
Consolidated Statements of Operations and Comprehensive Loss                        
Net income (loss)               (94,226) (282,024) (384,841)    
Condensed Consolidated Statement of Stockholders' (Deficit) Equity                        
Accumulated deficit (1,557,025) (1,550,955) (1,496,859) (1,526,308)   (1,496,859) (1,550,955) (1,557,025) (1,462,799) (1,180,775) (795,934)  
Net income (loss)               (94,226) (282,024) (384,841)    
Product revenue, net                        
Consolidated Statements of Operations and Comprehensive Loss                        
Total revenues   41,989 43,309 41,372   84,681 126,670 176,949 140,288 128,238    
As Previously Reported                        
Consolidated Balance Sheet                        
Inventories 21,762 40,039 36,272 39,422   36,272 40,039 21,762 38,195      
Accounts receivable, net 39,180 23,094 81,869 64,582   81,869 23,094 39,180 50,875      
Prepaid expenses and other current assets 33,541 29,618         29,618 33,541        
Total current assets 184,949 237,512 304,163 302,687   304,163 237,512 184,949 272,010      
Goodwill 55,053 55,053 55,053 55,053   55,053 55,053 55,053 55,053      
Other long-term assets, net   26,275         26,275   49,754      
Total assets 351,830 435,894 521,804 535,356   521,804 435,894 351,830 525,550      
Accrued expenses and other current liabilities 70,997 87,364 91,284 109,660   91,284 87,364 70,997 104,456      
Total current liabilities 124,756 187,965 233,680 253,914   233,680 187,965 124,756 256,493      
Other non-current liabilities 12,161 74,313 66,889 77,743   66,889 74,313 12,161 82,525      
Total liabilities 342,488 422,041 459,504 509,240   459,504 422,041 342,488 449,094      
Accumulated deficit (1,552,913) (1,545,361) (1,493,496) (1,522,772)   (1,493,496) (1,545,361) (1,552,913) (1,460,351)      
Total stockholder' equity 9,342             9,342 76,456      
Total liabilities and stockholders' equity 351,830 435,894 521,804 535,356   521,804 435,894 351,830 525,550      
Consolidated Statements of Operations and Comprehensive Loss                        
Cost of goods sold, product   28,936   22,333   31,923 60,859 48,754 117,352 148,866    
Cost of goods sold, amortization of intangible asset                   31,515    
Cost of goods sold, impairment of intangible asset                   115,527    
Research and development   27,350         97,210 129,114        
Selling, general and administrative   30,918 32,807 44,327   77,134 108,052 138,699 174,161      
Operating income (loss)   (48,174) 33,902 (58,493)   (24,591) (72,765) (79,115) (265,318) (376,442)    
Net income (loss)   (51,865) 29,276 (62,421)   (33,145) (85,010) (92,562) (282,840) (383,457)    
Comprehensive income (loss)   $ (51,865) $ 29,276 $ (62,421)   $ (33,145) $ (85,010) $ (92,562) $ (282,847) $ (383,444)    
Earnings per share - basic (in dollars per share)   $ (0.28) $ 0.16 $ (0.35)   $ (0.18) $ (0.47) $ (0.51) $ (1.70) $ (2.77)    
Earnings per share - diluted (in dollars per share)   $ (0.28) $ 0.15 $ (0.35)   $ (0.18) $ (0.47) $ (0.51) $ (1.70) $ (2.77)    
Condensed Consolidated Statement of Stockholders' (Deficit) Equity                        
Accumulated deficit 9,342             $ 9,342 $ 76,456      
Net income (loss)   $ (51,865) $ 29,276 $ (62,421)   $ (33,145) $ (85,010) (92,562) (282,840) $ (383,457)    
Consolidated Statement of Cash Flows                        
Net loss       (62,421)   (33,145) (85,010) (92,562) (282,840) (383,457)    
Adjustments to reconcile net loss to net cash used in operating activities:                        
Amortization of intangible asset                   31,515    
Intangible asset impairment charge                   115,527    
Change in excess inventory purchase commitments       (773)   (773) 12,422 (67,618) 33,391      
Write-down of inventories                 15,618 20,072    
Changes in operating assets and liabilities:                        
Accounts receivable       (13,707)   (30,994) 27,781 11,695 (24,022) 12,011    
Inventories       (5,247)   1,159 1,405 19,793 (25,847)      
Prepaid expenses and other current assets             9,131 381        
Other long-term assets       3,297   9,347 14,817          
Accrued expenses and other current liabilities       4,426   (18,625) (22,364) (38,227) (24,680) 6,356    
Other non-current liabilities       (3,191)   (9,030)   2,080 (12,481) 0    
Net cash used in operating activities       (21,620)   (52,280) (18,475) (73,154) (252,965) (110,388)    
As Previously Reported | Accumulated Deficit                         
Consolidated Balance Sheet                        
Total stockholder' equity (1,552,913) (1,545,361) (1,493,496) (1,522,772)   (1,493,496) (1,545,361) (1,552,913) (1,460,351) (1,177,511) (794,054)  
Condensed Consolidated Statement of Stockholders' (Deficit) Equity                        
Accumulated deficit (1,552,913) (1,545,361) (1,493,496) (1,522,772)   (1,493,496) (1,545,361) (1,552,913) (1,460,351) (1,177,511) (794,054)  
As Previously Reported | Product revenue, net                        
Consolidated Statements of Operations and Comprehensive Loss                        
Total revenues   42,239 43,703 41,448   85,151 127,390 177,067 142,216 128,901    
Adjustment                        
Consolidated Balance Sheet                        
Inventories (194) 5,203 3,954 1,676   3,954 5,203 (194) (1,567)      
Accounts receivable, net 1,104 175 133 776   133 175 1,104 706 700    
Prepaid expenses and other current assets (677) (678)         (678) (677)        
Total current assets 233 4,700 4,087 2,452   4,087 4,700 233 (861)      
Goodwill 3,991 3,991 3,991 3,991   3,991 3,991 3,991 3,991     $ 2,600
Other long-term assets, net   (334)         (334)   667      
Total assets 4,224 8,357 8,078 6,443   8,078 8,357 4,224 3,797      
Accrued expenses and other current liabilities 4,780 5,164 3,721 4,583   3,721 5,164 4,780 4,558      
Total current liabilities 4,780 5,164 3,721 4,583   3,721 5,164 4,780 4,558      
Other non-current liabilities 3,556 8,787 7,721 5,398   7,721 8,787 3,556 1,687      
Total liabilities 8,336 13,951 11,442 9,981   11,442 13,951 8,336 6,245      
Accumulated deficit (4,112) (5,594) (3,363) (3,536)   (3,363) (5,594) (4,112) (2,448)      
Total stockholder' equity (4,112)             (4,112) (2,448)      
Total liabilities and stockholders' equity 4,224 8,357 8,078 6,443   8,078 8,357 4,224 3,797      
Consolidated Statements of Operations and Comprehensive Loss                        
Total revenues               100 1,900 600    
Cost of goods sold, product   334   772   771 1,106 772 (2,723) 569    
Cost of goods sold, amortization of intangible asset                   1,102    
Cost of goods sold, impairment of intangible asset                   (1,102)    
Research and development   678         678 872        
Selling, general and administrative   969 (567) 239   (328) 641 (98) (21)      
Operating income (loss)   (2,230) 173 (1,088)   (913) (3,146) (1,664) 816 (1,384)    
Net income (loss)   (2,230) 173 (1,088)   (913) (3,146) (1,664) 816 (1,384)    
Comprehensive income (loss)   $ (2,230) $ 173 $ (1,088)   $ (913) $ (3,146) $ (1,664) $ 816 $ (1,384)    
Earnings per share - basic (in dollars per share)   $ (0.01) $ 0 $ 0   $ (0.01) $ (0.01) $ 0.01 $ 0 $ (0.01)    
Earnings per share - diluted (in dollars per share)   $ (0.01) $ 0 $ 0   $ (0.01) $ (0.01) $ 0.01 $ 0 $ (0.01)    
Condensed Consolidated Statement of Stockholders' (Deficit) Equity                        
Accumulated deficit (4,112)             $ (4,112) $ (2,448)      
Net income (loss)   $ (2,230) $ 173 $ (1,088)   $ (913) $ (3,146) (1,664) 816 $ (1,384)    
Consolidated Statement of Cash Flows                        
Net loss       (1,088)   (913) (3,146) (1,664) 816 (1,384)    
Adjustments to reconcile net loss to net cash used in operating activities:                        
Amortization of intangible asset                   1,102    
Intangible asset impairment charge                   (1,102)    
Change in excess inventory purchase commitments       773   5,627 1,673 1,672 (3,054)      
Write-down of inventories                 (569) 569    
Changes in operating assets and liabilities:                        
Accounts receivable       (71)   573 531 (398) (5) (342)    
Inventories       (3,243)   (5,521) (6,770) (706) 900      
Prepaid expenses and other current assets             667 677        
Other long-term assets       669   665 6,214          
Accrued expenses and other current liabilities       2,960   (839) 831 222 2,600 (97)    
Other non-current liabilities         408   197 (688) 1,254    
Net cash used in operating activities       0   0 0 0 0 0    
Adjustment | Accumulated Deficit                         
Consolidated Balance Sheet                        
Total stockholder' equity (4,112) (5,594) (3,363) (3,536)   (3,363) (5,594) (4,112) (2,448) (3,264) (1,880)  
Condensed Consolidated Statement of Stockholders' (Deficit) Equity                        
Accumulated deficit $ (4,112) (5,594) (3,363) (3,536)   (3,363) (5,594) (4,112) (2,448) (3,264) $ (1,880)  
Adjustment | Product revenue, net                        
Consolidated Statements of Operations and Comprehensive Loss                        
Total revenues   $ (250) $ (394) $ (76)   $ (470) $ (720) $ (118) $ (1,928) $ (663)