XML 34 R6.htm IDEA: XBRL DOCUMENT v3.22.0.1
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
CASH FLOWS FROM OPERATING ACTIVITIES:      
Net income (loss) $ 7,729 $ (18,000) $ (22,645)
Adjustments to reconcile net income (loss) to net cash used in operating activities:      
Depreciation and amortization 587 597 180
Amortization of investments 1,929 1,602  
Stock-based compensation 36,938 45,813 30,917
Amortization of debt discount and debt issuance costs   635 1,644
Amortization of intangible asset 2,270 1,441 679
Changes in assets and liabilities:      
Accounts receivable, net (9,079) (38,144) (49,907)
Inventory (167,066) (112,095) (18,967)
Prepaid and other current assets 8,595 (17,636) (10,366)
Other long-term assets (24) 642 (900)
Interest receivable 738 (1,329)  
Accrued interest payable   (428) (210)
Deferred revenue (1,923) (2,214) 136
Accounts payable, accrued expenses and other current liabilities 51,516 114,741 65,913
Other long-term liabilities 1,253 2,629 (5,840)
Net cash used in operating activities (66,537) (21,746) (9,366)
CASH FLOWS FROM INVESTING ACTIVITIES:      
Sale and maturities of securities 394,294 301,989  
Purchases of securities (290,195) (678,700)  
Disposal (purchase) of furniture, fixtures and equipment 4 (252) (2,478)
Net cash provided by (used in) investing activities 104,103 (376,963) (2,478)
CASH FLOWS FROM FINANCING ACTIVITIES:      
Proceeds from issuance of common stock, net of transaction costs     440,108
Proceeds from issuance of common stock under employee stock purchase plan 1,650 1,957 2,165
Proceeds from exercise of stock options, net of transaction costs 2,921 5,158 24,478
Payment of transaction costs for conversion of preferred stock   (504)  
Payment on debt from royalty-bearing instrument   (50,336) (31,652)
Taxes related to stock-based awards (9,644) (15,182) (25,487)
Net cash (used in) provided by financing activities (5,073) (58,907) 409,612
NET INCREASE (DECREASE) IN CASH AND CASH EQUIVALENTS AND RESTRICTED CASH 32,493 (457,616) 397,768
CASH AND CASH EQUIVALENTS AND RESTRICTED CASH, BEGINNING OF PERIOD 190,879 648,495 250,727
CASH AND CASH EQUIVALENTS AND RESTRICTED CASH, END OF PERIOD 223,372 190,879 648,495
Cash received (paid) during the year for:      
Interest   (2,043) (4,591)
Income taxes 3,656 (207) (67)
Supplemental disclosure of non-cash transactions:      
Laxdale milestone $ 12,000   8,457
Initial recognition of operating lease right-of-use asset     $ 8,995
Conversion of Series A Convertible Preferred Stock into common stock   $ 18,020