00000 - Document - Template Link
link:presentationLink
link:calculationLink
link:definitionLink
100000 - Document - Document and Entity Information
link:calculationLink
link:presentationLink
link:definitionLink
100010 - Statement - Consolidated Balance Sheets
link:calculationLink
link:presentationLink
link:definitionLink
100020 - Statement - Consolidated Balance Sheets (Parenthetical)
link:calculationLink
link:presentationLink
link:definitionLink
100030 - Statement - Consolidated Statements of Operations and Comprehensive Income (Loss)
link:calculationLink
link:presentationLink
link:definitionLink
100040 - Statement - Consolidated Statements of Operations and Comprehensive Income (Loss) (Parenthetical)
link:calculationLink
link:presentationLink
link:definitionLink
100050 - Statement - Consolidated Statements of Stockholders' Equity
link:calculationLink
link:presentationLink
link:definitionLink
100060 - Statement - Consolidated Statements of Stockholders' Equity (Parenthetical)
link:calculationLink
link:presentationLink
link:definitionLink
100070 - Statement - Consolidated Statements of Cash Flows
link:calculationLink
link:presentationLink
link:definitionLink
100080 - Disclosure - Description of the business
link:calculationLink
link:presentationLink
link:definitionLink
100090 - Disclosure - Summary of significant accounting policies and basis of presentation
link:calculationLink
link:presentationLink
link:definitionLink
100110 - Disclosure - Fair value measurements
link:calculationLink
link:presentationLink
link:definitionLink
100120 - Disclosure - Property and equipment, net
link:calculationLink
link:presentationLink
link:definitionLink
100130 - Disclosure - Restricted cash
link:calculationLink
link:presentationLink
link:definitionLink
100140 - Disclosure - Accrued expenses and other current liabilities
link:calculationLink
link:presentationLink
link:definitionLink
100150 - Disclosure - Commitments and contingencies
link:calculationLink
link:presentationLink
link:definitionLink
100160 - Disclosure - Common stock and preferred stock
link:calculationLink
link:presentationLink
link:definitionLink
100170 - Disclosure - Significant agreements
link:calculationLink
link:presentationLink
link:definitionLink
100180 - Disclosure - Business combinations
link:calculationLink
link:presentationLink
link:definitionLink
100190 - Disclosure - Stock-based compensation
link:calculationLink
link:presentationLink
link:definitionLink
100200 - Disclosure - 401(k) Savings Plan
link:calculationLink
link:presentationLink
link:definitionLink
100210 - Disclosure - Income taxes
link:calculationLink
link:presentationLink
link:definitionLink
100220 - Disclosure - Net loss per share
link:calculationLink
link:presentationLink
link:definitionLink
100230 - Disclosure - Selected quarterly financial data (Unaudited)
link:calculationLink
link:presentationLink
link:definitionLink
100240 - Disclosure - Subsequent events
link:calculationLink
link:presentationLink
link:definitionLink
100250 - Disclosure - Summary of significant accounting policies and basis of presentation (Policies)
link:calculationLink
link:presentationLink
link:definitionLink
100260 - Disclosure - Summary of significant accounting policies and basis of presentation (Tables)
link:calculationLink
link:presentationLink
link:definitionLink
100280 - Disclosure - Fair value measurements (Tables)
link:calculationLink
link:presentationLink
link:definitionLink
100290 - Disclosure - Property and equipment, net (Tables)
link:calculationLink
link:presentationLink
link:definitionLink
100300 - Disclosure - Accrued expenses and other current liabilities (Tables)
link:calculationLink
link:presentationLink
link:definitionLink
100310 - Disclosure - Commitments and contingencies (Tables)
link:calculationLink
link:presentationLink
link:definitionLink
100320 - Disclosure - Common stock and preferred stock (Tables)
link:calculationLink
link:presentationLink
link:definitionLink
100330 - Disclosure - Business combinations (Tables)
link:calculationLink
link:presentationLink
link:definitionLink
100340 - Disclosure - Stock-based compensation (Tables)
link:calculationLink
link:presentationLink
link:definitionLink
100350 - Disclosure - Income taxes (Tables)
link:calculationLink
link:presentationLink
link:definitionLink
100360 - Disclosure - Net loss per share (Tables)
link:calculationLink
link:presentationLink
link:definitionLink
100370 - Disclosure - Selected quarterly financial data (Unaudited) (Tables)
link:calculationLink
link:presentationLink
link:definitionLink
100380 - Disclosure - Description of the business - Additional Information (Detail)
link:calculationLink
link:presentationLink
link:definitionLink
100390 - Disclosure - Summary of significant accounting policies and basis of presentation - Additional Information (Detail)
link:calculationLink
link:presentationLink
link:definitionLink
100400 - Disclosure - Summary of significant accounting policies and basis of presentation - Estimated Useful Lives of Assets (Detail)
link:calculationLink
link:presentationLink
link:definitionLink
100420 - Disclosure - Fair value measurements - Recorded Amount of Assets and Liabilities Measured at Fair Value on Recurring Basis (Detail)
link:calculationLink
link:presentationLink
link:definitionLink
100430 - Disclosure - Fair value measurements - Additional Information (Detail)
link:calculationLink
link:presentationLink
link:definitionLink
100440 - Disclosure - Fair value measurements - Roll-Forward of Fair Value of the Company's Contingent Consideration Obligations (Detail)
link:calculationLink
link:presentationLink
link:definitionLink
100450 - Disclosure - Property and equipment, net - Property and Equipment (Detail)
link:calculationLink
link:presentationLink
link:definitionLink
100460 - Disclosure - Property and equipment, net - Additional Information (Detail)
link:calculationLink
link:presentationLink
link:definitionLink
100470 - Disclosure - Restricted cash - Additional Information (Detail)
link:calculationLink
link:presentationLink
link:definitionLink
100480 - Disclosure - Accrued expenses and other current liabilities - Summary of Accrued Expenses and Other Current Liabilities (Detail)
link:calculationLink
link:presentationLink
link:definitionLink
100490 - Disclosure - Accrued expenses and other current liabilities - Additional Information (Detail)
link:calculationLink
link:presentationLink
link:definitionLink
100500 - Disclosure - Commitments and contingencies - Additional Information (Detail)
link:calculationLink
link:presentationLink
link:definitionLink
100510 - Disclosure - Commitments and contingencies - Future Minimum Commitments (Detail)
link:calculationLink
link:presentationLink
link:definitionLink
100520 - Disclosure - Common stock and preferred stock - Additional Information (Detail)
link:calculationLink
link:presentationLink
link:definitionLink
100530 - Disclosure - Common stock and preferred stock - Summary of Future Issuance of Common Stock Shares (Detail)
link:calculationLink
link:presentationLink
link:definitionLink
100540 - Disclosure - Significant agreements - Additional Information (Detail)
link:calculationLink
link:presentationLink
link:definitionLink
100550 - Disclosure - Business Combinations - Additional Information (Detail)
link:calculationLink
link:presentationLink
link:definitionLink
100560 - Disclosure - Business Combinations - Schedule of Estimated Amortization of Intangible Assets (Detail)
link:calculationLink
link:presentationLink
link:definitionLink
100570 - Disclosure - Stock-based compensation - Additional Information (Detail)
link:calculationLink
link:presentationLink
link:definitionLink
100580 - Disclosure - Stock-based compensation - Summary of Stock-Based Compensation Expense by Award Type (Detail)
link:calculationLink
link:presentationLink
link:definitionLink
100590 - Disclosure - Stock-based compensation - Schedule of Stock-Based Compensation Expense by Classification (Detail)
link:calculationLink
link:presentationLink
link:definitionLink
100600 - Disclosure - Stock-based compensation - Assumptions Used for the Black-Scholes Option-Pricing Model to Determine the Per Share Weighted Average Fair Value for Options Granted (Detail)
link:calculationLink
link:presentationLink
link:definitionLink
100610 - Disclosure - Stock-based compensation - Summary of Stock Option Activity Under Plan (Detail)
link:calculationLink
link:presentationLink
link:definitionLink
100620 - Disclosure - Stock-based compensation - Summary of Restricted Stock Units (Detail)
link:calculationLink
link:presentationLink
link:definitionLink
100630 - Disclosure - 401(k) Savings plan - Additional Information (Detail)
link:calculationLink
link:presentationLink
link:definitionLink
100640 - Disclosure - Income taxes - Schedule of Components of Loss Before Income Taxes (Detail)
link:calculationLink
link:presentationLink
link:definitionLink
100650 - Disclosure - Income taxes - Summary of (Benefit from) Provision for Income Taxes (Detail)
link:calculationLink
link:presentationLink
link:definitionLink
100660 - Disclosure - Income taxes - Reconciliation of Income Tax (Benefit) Provision Computed at the Statutory Federal Income Tax Rate to Effective Income Tax Rate (Benefit) Provision as Reflected in the Financial Statements (Detail)
link:calculationLink
link:presentationLink
link:definitionLink
100670 - Disclosure - Income taxes - Additional Information (Detail)
link:calculationLink
link:presentationLink
link:definitionLink
100680 - Disclosure - Income taxes - Components of Deferred Tax Assets and Liabilities (Detail)
link:calculationLink
link:presentationLink
link:definitionLink
100690 - Disclosure - Net loss per share - Common Stock Equivalents Excluded from Calculation of Diluted Net Loss Per Share (Detail)
link:calculationLink
link:presentationLink
link:definitionLink
100700 - Disclosure - Selected quarterly financial data - Quarterly Financial Information (Detail)
link:calculationLink
link:presentationLink
link:definitionLink