XML 29 R6.htm IDEA: XBRL DOCUMENT v3.19.3.a.u2
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2019
Dec. 31, 2018
Operating activities    
Net loss $ (116,508) $ (199,469)
Adjustments to reconcile net loss to net cash used for operating activities:    
Share-based compensation expense 23,733 35,151
Depreciation and amortization expense 4,552 4,405
Loss on disposal of equipment 24 236
Non-cash interest expense 8,775 6,797
Non-cash rent expense 1,307 0
Changes in operating assets and liabilities:    
Accounts receivable, net (1,579) (1,381)
Inventory, net (191) (2,020)
Prepaid expenses and other current assets 644 (1,964)
Accounts payable (4,395) (2,912)
Accrued expenses 395 5,451
Accrued payroll and related expenses 823 2,514
Lease liability (2,530) 0
Deferred rent 0 824
Net cash used for operating activities (84,950) (152,368)
Investing activities    
Purchase of property and equipment (698) (2,340)
Net cash used for investing activities (698) (2,340)
Financing activities    
Net proceeds from issuance of common stock under ESPP 833 391
Net proceeds from issuance of common stock under 2013 Equity Plan 31 1,908
Net proceeds from royalty financing 0 124,289
Net proceeds from the issuance of common stock 0 109,809
Net cash provided by financing activities 864 236,397
Net (decrease) increase in cash and restricted cash (84,784) 81,689
Cash and restricted cash at beginning of period 173,513 91,824
Cash and restricted cash at end of period 88,729 173,513
Supplemental disclosure of non-cash investing and financing activities    
Conversion of Series F Convertible Preferred Stock into common stock 2,737 0
Initial recognition of right-of-use lease asset 16,798  
Interest paid 1,999 506
Reconciliation of cash and restricted cash to the consolidated balance sheets    
Total cash and restricted cash $ 88,729 $ 173,513