Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2016
Mar. 31, 2015
Cash flow from operating activities    
Net loss $ (17,745) $ (5,291)
Adjustments to reconcile net loss to net cash used in operating activities:    
Stock-based compensation expense 4,210 65
Depreciation 187 83
Non-cash interest expense   13
Re-measurement of warrant to purchase redeemable securities 87  
Change in fair value of preferred stock tranche asset or liability   73
Changes in fair value of anti-dilutive protection liability   26
Changes in deferred rent 45 (21)
Changes in operating assets and liabilities:    
Accounts receivable (89)  
Prepaid expenses and other current assets (1,088) (142)
Other non-current assets 2,248  
Accounts payable 544 (1,612)
Accrued expenses 1,814 863
Deferred revenue 158  
Net cash used in operating activities (9,629) (5,943)
Cash flow from investing activities    
Purchases of property and equipment (943) (305)
Changes in restricted cash (1,619)  
Net cash used in investing activities (2,562) (305)
Cash flow from financing activities    
Proceeds from equipment loan, net of issuance costs   791
Proceeds from initial public offering of common stock, net of issuance costs 98,182  
Proceeds from stock option exercises 33  
Net cash provided by financing activities 98,215 791
Net increase (decrease) in cash and cash equivalents 86,024 (5,457)
Cash and cash equivalents, beginning of period 143,180 10,623
Cash and cash equivalents, end of period 229,204 5,166
Supplemental disclosure of cash and non-cash activities:    
Conversion of preferred stock to common stock upon closing of the IPO 199,915  
Capitalization of construction-in-progress related to facility lease obligation 11,649  
Fixed asset additions included in accounts payable and accrued expenses 526 113
Initial public offering costs incurred but unpaid at period end 497  
Reclassification of warrants to additional paid in capital 376  
Accretion of redeemable convertible preferred stock to redemption value 47 95
Reclassification of liability for common stock subject to repurchase $ 3  
Accrual of final payment fee on equipment loan and debt discount   $ 30