XML 16 R6.htm IDEA: XBRL DOCUMENT v3.10.0.1
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2018
Sep. 30, 2017
Cash flows from operating activities:    
Net loss $ (127,044) $ (82,894)
Adjustments to reconcile net loss to net cash used for operating activities:    
Non-cash royalty revenue related to sale of future royalties (22,873) (20,555)
Non-cash interest expense on liability related to sale of future royalties and convertible senior notes 8,203 10,461
Non-cash debt conversion expense   22,191
Depreciation and amortization 6,192 4,307
(Gain) loss on sale/disposal of fixed assets and impairment charges (30) 180
Stock and deferred share unit compensation 12,282 8,458
Deferred rent (62) 71
Change in operating assets and liabilities:    
Accounts receivable 534 (495)
Unbilled revenue 2,059 4,178
Inventory (900) (51)
Contract asset (500)  
Prepaid and other current assets (3,353) 641
Other assets (144) (93)
Accounts payable 1,420 (993)
Accrued compensation (1,157) 1,579
Other accrued liabilities 7,898 2,781
Deferred revenue (7,662) 87,288
Net cash (used) provided by operating activities (125,137) 37,054
Cash flows from investing activities:    
Purchases of property and equipment (4,220) (847)
Net cash used for investing activities (4,220) (847)
Cash flows from financing activities:    
Proceeds from stock options exercised 2,943 363
Proceeds from common stock issuance, net of $395 of transaction costs 162,512  
Fees for debt conversion   (1,683)
Net cash provided (used) for financing activities 165,455 (1,320)
Net change in cash and cash equivalents 36,098 34,887
Cash and cash equivalents, beginning of period 267,107 159,964
Cash and cash equivalents, end of period $ 303,205 $ 194,851