XML 27 R7.htm IDEA: XBRL DOCUMENT v3.20.4
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2020
Dec. 31, 2019
Dec. 31, 2018
Operating activities      
Net loss $ (75,240) $ (152,600) $ (158,899)
Adjustments to reconcile net loss to net cash used in operating activities:      
Depreciation and amortization 4,273 8,938 3,621
Amortization of right-of-use assets 2,562 3,375  
(Gain) loss on disposal of property and equipment and from lease termination (98) 18 98
Amortization of premiums (accretion of discounts) on marketable securities 535 (1,462) (1,559)
Realized gain on available-for-sale securities (57)    
Change in fair value of warrant liability (4,124) 7,500  
Stock compensation expense 13,484 25,456 23,478
Cost of sales - amortization of intangible assets 2,500 9,217 10,862
Non-cash interest expense 2,542 4,973 2,755
Tenant improvements provided by the landlord 1,137 6,999  
Gain on sale of assets (6,851)    
Changes in operating assets and liabilities:      
Accounts and other receivables, net (13,775) (5,182) (2,850)
Inventories, net (22,357) (22,310) (18,710)
Prepaid manufacturing (29,423)    
Prepaid expenses and other current assets (1,826) (1,278) (2,405)
Other assets (229) 1,632 (3,706)
Accounts payable (3,448) 4,848 3,417
Lease liabilities (2,872) (2,000)  
Deferred revenue 38,212    
Accrued and other liabilities 2,804 (9,376) 12,597
Net cash used in operating activities (92,251) (121,252) (131,301)
Investing activities      
Acquisition of technology licenses (7,000) (7,000) (11,000)
Purchases of marketable securities (201,786) (215,191) (213,804)
Proceeds from maturities and redemptions of marketable securities 148,565 201,810 284,457
Proceeds from sales of marketable securities 30,910    
Purchases of property and equipment, net (4,072) (22,401) (4,187)
Proceeds from sale of assets, net of transaction costs 6,851    
Net cash (used in) provided by investing activities (26,532) (42,782) 55,466
Financing activities      
Proceeds from long-term debt, net   74,250 99,000
Proceeds from issuances of common stock, net 108,538 65,948  
Proceeds from issuances of preferred stock, net   13,586  
Proceeds (tax withholding) from exercise of stock options and restricted stock awards, net 289 2 (523)
Proceeds from Employee Stock Purchase Plan 672 565 594
Net cash provided by financing activities 109,499 154,351 99,071
Effect of exchange rate changes on cash, cash equivalents and restricted cash 1,494 (184) (482)
Net (decrease) increase in cash, cash equivalents and restricted cash (7,790) (9,867) 22,754
Cash, cash equivalents and restricted cash at beginning of year 40,100 49,967 27,213
Cash, cash equivalents and restricted cash at end of year 32,310 40,100 49,967
Supplemental disclosure of cash flow information      
Cash paid during the year for interest 16,541 12,147 6,583
Non-cash investing and financing activities:      
Non-cash acquisition of technology license     12,773
Purchases of property and equipment, not yet paid $ 361 2,698 $ 920
Proceeds allocated to warrant liability at issuance   7,360  
Right-of-use assets obtained in exchange for operating lease liabilities   $ 40,626