XML 28 R8.htm IDEA: XBRL DOCUMENT v3.6.0.2
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2016
Dec. 31, 2015
Dec. 31, 2014
Operating activities      
Net loss $ (112,387) $ (29,621) $ (3,214)
Adjustments to reconcile net loss to net cash used in operating activities:      
Depreciation expense 1,295 829 302
Amortization of deferred financing costs 346 351  
Amortization of deferred compensation for services 194 107  
Amortization of premium on investment securities (86)    
Stock-based compensation 5,317 2,634 1,692
Change in fair value of preferred stock warrant liability     1,593
Loss from disposal of fixed assets   65  
Changes in operating assets and liabilities:      
Accounts receivable   2,584 3,852
Prepaid expenses and other assets 1,562 (4,083) 96
Accounts payable 2,148 (371) 831
Accrued compensation and benefits 795 718 721
Accrued and other liabilities 8,282 2,000 647
Deferred revenue   (47,053) 6,755
Other long-term liabilities     122
Net cash (used in) provided by operating activities (92,534) (71,840) 13,397
Investing activities      
Purchases of short-term investments (133,810)    
Proceeds from maturities of short-term investments 7,600    
Purchases of property and equipment (4,866) (3,454) (1,856)
Net cash used in investing activities (131,076) (3,454) (1,856)
Financing activities      
Proceeds from issuance of common stock, net of issuance costs 190,573 74,323 61,241
Proceeds from issuance of common stock under stock plans 631 659 71
Other   30 (2)
Net cash provided by (used in) financing activities 191,204 75,012 61,310
Net increase in cash and cash equivalents (32,406) (282) 72,851
Cash and cash equivalents at beginning of period 107,004 107,286 34,435
Cash and cash equivalents at end of period 74,598 107,004 107,286
Supplementary disclosure of cash flow information      
Income taxes paid   $ 69  
Supplementary disclosure of non-cash financing information:      
Acquisition of property and equipment included in accounts payable and accrued liabilities 730    
Services settled through the issuance of common stock $ 187   208
Reclassification of convertible preferred warrant liability to additional paid-in capital     8,049
Conversion of convertible preferred stock to common stock at closing of initial public offering     $ 56,155