XML 23 R8.htm IDEA: XBRL DOCUMENT v3.20.2
Condensed Consolidated Statements of Cash Flows (Unaudited) - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2020
Jun. 30, 2019
Operating activities:    
Net loss $ (13,538) $ (47,511)
Adjustments to reconcile net loss to net cash provided by operating activities:    
Depreciation and amortization 4,153 4,235
Stock-based compensation 19,537 33,578
Disposal of property and equipment   54
Loss on debt extinguishment   8,047
Changes in operating assets and liabilities:    
Accounts receivable, net 4,909 (4,573)
Inventory, net 279 (635)
Prepaid expenses and other (119) 2,258
Other current assets (3,103) 1,457
Accounts payable (7,416) (5,613)
Accrued expenses 155 27,820
Deferred rent (44)  
Post-marketing commitment liability (125) 9,000
Net cash provided by operating activities 4,688 28,117
Investing activities:    
Purchase of property and equipment (12)  
Purchase of available-for-sale securities (16,376) (127,974)
Sale of available-for-sale securities   28,135
Maturity of available-for-sale securities 51,546 66,462
Purchase of intangible assets (10,000)  
Net cash provided by (used in) investing activities 25,158 (33,377)
Financing activities:    
Net proceeds from shares issued under employee stock plans 2 1,276
Proceeds from debt 8,444 25,000
Payment of debt (8,444) (80,000)
Payment of debt extinguishment costs   (7,793)
Payment of debt issuance costs   (5,625)
Net cash provided by (used in) financing activities 2 (67,142)
Net increase (decrease) in cash, cash equivalents and restricted cash 29,848 (72,402)
Cash, cash equivalents and restricted cash, beginning of period 73,210 112,738
Cash, cash equivalents and restricted cash, end of period 103,058 40,336
Supplemental disclosures of non-cash investing and financing activities:    
Intangibles in accrued expenses 30,000  
Supplemental disclosure of cash flow information:    
Interest paid $ 4,721 $ 7,914