XML 85 R7.htm IDEA: XBRL DOCUMENT v3.20.1
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2019
Dec. 31, 2018
Dec. 31, 2017
Operating activities      
Net loss $ (152,600) $ (158,899) $ (95,154)
Adjustments to reconcile net loss to net cash used in operating activities:      
Depreciation and amortization 8,938 3,621 3,244
Amortization of right-of-use assets 3,375    
Loss (gain) on disposal of property and equipment 18 98 (10)
Accretion of discounts and amortization of premiums on marketable securities (1,462) (1,559) (193)
Change in fair value of warrant liability 7,500    
Reversal of deferred rent upon lease amendment     (209)
Stock compensation expense 25,456 23,478 14,917
Cost of sales - amortization of intangible assets 9,217 10,862 1,194
Non-cash interest expense 4,973 2,755  
Tenant improvements provided by the landlord 6,999    
Changes in operating assets and liabilities:      
Accounts and other receivables, net (5,182) (2,850) 488
Inventories, net (22,310) (18,710) (312)
Prepaid expenses and other current assets (1,278) (2,405) (1,830)
Other assets 1,632 (3,706) (936)
Accounts payable 4,848 3,417 (1,915)
Lease liabilities (2,000)    
Accrued liabilities and other long-term liabilities (9,376) 12,597 3,198
Net cash used in operating activities (121,252) (131,301) (77,518)
Investing activities      
Acquisition of technology licenses (7,000) (11,000)  
Purchases of marketable securities (215,191) (213,804) (227,672)
Proceeds from maturities and redemptions of marketable securities 201,810 284,457 119,638
Purchases of property and equipment, net (22,401) (4,187) (669)
Net cash (used in) provided by investing activities (42,782) 55,466 (108,703)
Financing activities      
Proceeds from long-term debt, net 74,250 99,000  
Proceeds from issuances of common stock, net 65,948   185,936
Proceeds from issuances of preferred stock, net 13,586    
Proceeds (tax withholding) from exercise of stock options and restricted stock awards, net 2 (523) 1,613
Proceeds from Employee Stock Purchase Plan 565 594 293
Net cash provided by financing activities 154,351 99,071 187,842
Effect of exchange rate changes on cash, cash equivalents and restricted cash (184) (482) 701
Net (decrease) increase in cash, cash equivalents and restricted cash (9,867) 22,754 2,322
Cash, cash equivalents and restricted cash at beginning of year 49,967 27,213 24,891
Cash, cash equivalents and restricted cash at end of year 40,100 49,967 27,213
Supplemental disclosure of cash flow information      
Cash paid during the year for interest 12,147 6,583  
Release of accrual for litigation settlement and insurance recovery     4,975
Non-cash investing and financing activities:      
Non-cash acquisition of technology license   12,773  
Purchases of property and equipment, not yet paid 2,698 $ 920 $ 378
Proceeds allocated to warrant liability at issuance 7,360    
Right-of-use assets obtained in exchange for operating lease liabilities $ 40,626