Document and Entity Information
Document and Entity Information - shares | 9 Months Ended | |
Sep. 30, 2018 | Nov. 02, 2018 | |
Document And Entity Information [Abstract] | ||
Entity Registrant Name | ViewRay, Inc. | |
Entity Central Index Key | 1,597,313 | |
Document Type | 10-Q | |
Trading Symbol | VRAY | |
Document Period End Date | Sep. 30, 2018 | |
Amendment Flag | false | |
Current Fiscal Year End Date | --12-31 | |
Entity Filer Category | Accelerated Filer | |
Entity Small Business | true | |
Entity Emerging Growth Company | true | |
Entity Ex Transition Period | true | |
Entity Common Stock, Shares Outstanding | 95,730,214 | |
Document Fiscal Period Focus | Q3 | |
Document Fiscal Year Focus | 2,018 |
Condensed Consolidated Balance
Condensed Consolidated Balance Sheets (Unaudited) - USD ($) $ in Thousands | Sep. 30, 2018 | Dec. 31, 2017 |
Current assets: | ||
Cash and cash equivalents | $ 201,543 | $ 57,389 |
Accounts receivable | 22,677 | 20,326 |
Inventory | 40,547 | 19,375 |
Deposits on purchased inventory | 5,565 | 7,043 |
Deferred cost of revenue | 10,909 | 13,696 |
Prepaid expenses and other current assets | 6,174 | 4,862 |
Total current assets | 287,415 | 122,691 |
Property and equipment, net | 13,452 | 11,564 |
Restricted cash | 1,381 | 1,143 |
Intangible assets, net | 0 | 78 |
Other assets | 1,185 | 235 |
TOTAL ASSETS | 303,433 | 135,711 |
Current liabilities: | ||
Accounts payable | 6,964 | 11,014 |
Accrued liabilities | 13,880 | 7,207 |
Customer deposits | 12,243 | 17,820 |
Deferred revenue, current portion | 11,315 | 20,151 |
Total current liabilities | 44,402 | 56,192 |
Deferred revenue, net of current portion | 5,206 | 3,238 |
Long-term debt | 44,649 | 44,504 |
Warrant liabilities | 21,962 | 22,420 |
Other long-term liabilities | 9,854 | 7,370 |
TOTAL LIABILITIES | 126,073 | 133,724 |
Commitments and contingencies (Note 6) | 0 | 0 |
Stockholders’ equity: | ||
Convertible preferred stock, par value of $0.01 per share; 10,000,000 shares authorized at September 30, 2018 and December 31, 2017; no shares issued and outstanding at September 30, 2018 and December 31, 2017 | 0 | 0 |
Common stock, par value of $0.01 per share; 300,000,000 shares authorized at September 30, 2018 and December 31, 2017; 95,195,872 and 67,653,974 shares issued and outstanding at September 30, 2018 and December 31, 2017 | 941 | 666 |
Additional paid-in capital | 558,656 | 321,174 |
Accumulated deficit | (382,237) | (319,853) |
TOTAL STOCKHOLDERS’ EQUITY | 177,360 | 1,987 |
TOTAL LIABILITIES AND STOCKHOLDERS’ EQUITY | $ 303,433 | $ 135,711 |
Condensed Consolidated Balanc_2
Condensed Consolidated Balance Sheets (Parenthetical) (Unaudited) - $ / shares | Sep. 30, 2018 | Dec. 31, 2017 |
Statement Of Financial Position [Abstract] | ||
Preferred stock, par value per share | $ 0.01 | $ 0.01 |
Preferred stock, shares authorized | 10,000,000 | 10,000,000 |
Preferred stock, shares issued | 0 | 0 |
Preferred stock, shares outstanding | 0 | 0 |
Common stock, par value per share | $ 0.01 | $ 0.01 |
Common stock, shares authorized | 300,000,000 | 300,000,000 |
Common stock, shares issued | 95,195,872 | 67,653,974 |
Common stock, shares outstanding | 95,195,872 | 67,653,974 |
Condensed Consolidated Statemen
Condensed Consolidated Statements of Operations and Comprehensive Loss (Unaudited) - USD ($) $ in Thousands | 3 Months Ended | 9 Months Ended | ||
Sep. 30, 2018 | Sep. 30, 2017 | Sep. 30, 2018 | Sep. 30, 2017 | |
Revenue: | ||||
Total revenue | $ 17,666 | $ 12,197 | $ 60,299 | $ 14,122 |
Cost of revenue: | ||||
Total cost of revenue | 17,302 | 10,212 | 54,296 | 12,080 |
Gross margin | 364 | 1,985 | 6,003 | 2,042 |
Operating expenses: | ||||
Research and development | 4,347 | 3,616 | 12,506 | 9,781 |
Selling and marketing | 3,384 | 2,510 | 10,024 | 5,453 |
General and administrative | 16,721 | 7,502 | 37,070 | 22,116 |
Total operating expenses | 24,452 | 13,628 | 59,600 | 37,350 |
Loss from operations | (24,088) | (11,643) | (53,597) | (35,308) |
Interest income | 2 | 1 | 6 | 3 |
Interest expense | (1,974) | (1,843) | (5,758) | (5,372) |
Other (expense) income, net | (6,792) | 2,269 | (307) | (6,853) |
Loss before provision for income taxes | (32,852) | (11,216) | (59,656) | (47,530) |
Provision for income taxes | 0 | 0 | 0 | 0 |
Net loss and comprehensive loss | (32,852) | (11,216) | (59,656) | (47,530) |
Amortization of beneficial conversion feature related to Series A convertible preferred stock | 0 | 0 | (2,728) | 0 |
Net loss attributable to common stockholders, basic and diluted | $ (32,852) | $ (11,216) | $ (62,384) | $ (47,530) |
Net loss per share, basic and diluted | $ (0.39) | $ (0.19) | $ (0.82) | $ (0.85) |
Weighted-average common shares used to compute net loss per share attributable to common stockholders, basic and diluted | 84,920,996 | 59,061,149 | 76,185,346 | 56,064,562 |
Product | ||||
Revenue: | ||||
Total revenue | $ 16,492 | $ 11,358 | $ 57,237 | $ 11,358 |
Cost of revenue: | ||||
Total cost of revenue | 15,199 | 9,728 | 49,564 | 10,322 |
Service | ||||
Revenue: | ||||
Total revenue | 1,056 | 721 | 2,706 | 2,408 |
Cost of revenue: | ||||
Total cost of revenue | 2,103 | 484 | 4,732 | 1,758 |
Distribution Rights | ||||
Revenue: | ||||
Total revenue | $ 118 | $ 118 | $ 356 | $ 356 |
Condensed Consolidated Statem_2
Condensed Consolidated Statements of Cash Flows (Unaudited) - USD ($) $ in Thousands | 9 Months Ended | |
Sep. 30, 2018 | Sep. 30, 2017 | |
CASH FLOWS FROM OPERATING ACTIVITIES: | ||
Net loss | $ (59,656) | $ (47,530) |
Adjustments to reconcile net loss to net cash used in operating activities: | ||
Depreciation and amortization | 2,561 | 1,574 |
Stock-based compensation | 10,052 | 2,766 |
Accretion on asset retirement obligation | 26 | 29 |
Change in fair value of warrant liabilities | (116) | 6,739 |
Loss on disposal of property and equipment | 1 | 9 |
Inventory lower of cost or market adjustment | 0 | 647 |
Amortization of debt discount and interest accrual | 2,703 | 2,453 |
Changes in operating assets and liabilities: | ||
Accounts receivable | (2,351) | 3,158 |
Inventory | (22,412) | (11,143) |
Deposits on purchased inventory | 1,478 | (3,593) |
Deferred cost of revenue | 2,327 | (6,481) |
Prepaid expenses and other assets | (2,262) | (2,124) |
Accounts payable | (4,067) | 2,108 |
Accrued expenses and other long-term liabilities | 6,732 | 2,519 |
Customer deposits and deferred revenue | (12,445) | 5,175 |
Net cash used in operating activities | (77,429) | (43,694) |
CASH FLOWS FROM INVESTING ACTIVITIES: | ||
Purchase of property and equipment | (2,814) | (1,117) |
Net cash used in investing activities | (2,814) | (1,117) |
CASH FLOWS FROM FINANCING ACTIVITIES: | ||
Proceeds from the exercise of stock options | 3,571 | 247 |
Net cash provided by financing activities | 224,635 | 65,026 |
NET INCREASE IN CASH, CASH EQUIVALENTS AND RESTRICTED CASH | 144,392 | 20,215 |
CASH, CASH EQUIVALENTS AND RESTRICTED CASH — BEGINNING OF PERIOD | 58,532 | 15,341 |
CASH, CASH EQUIVALENTS AND RESTRICTED CASH — END OF PERIOD | 202,924 | 35,556 |
SUPPLEMENTAL DISCLOSURE OF CASH FLOW INFORMATION: | ||
Cash paid for interest | 3,055 | 2,919 |
Cash paid for taxes | 0 | 25 |
SUPPLEMENTAL NON-CASH INVESTING AND FINANCING ACTIVITIES: | ||
Transfer of inventory and deferred cost of revenue to property and equipment | 1,700 | 125 |
Purchase of property and equipment in accounts payable and accrued liabilities | 129 | 277 |
Fair value of common stock warrants reclassified from liability to additional paid-in capital upon exercise | 342 | 0 |
Public Offering | ||
CASH FLOWS FROM FINANCING ACTIVITIES: | ||
Proceeds from offering of common stock, gross | 172,500 | 0 |
Payment of offering costs related to common stock issuance | (10,631) | 0 |
Private Placement | ||
CASH FLOWS FROM FINANCING ACTIVITIES: | ||
Payment of offering costs related to common stock issuance | 0 | (300) |
Proceeds from offering of common stock, gross | 0 | 26,100 |
At The Market Offering Program | ||
CASH FLOWS FROM FINANCING ACTIVITIES: | ||
Proceeds from offering of common stock, gross | 278 | 40,126 |
Payment of offering costs related to common stock issuance | (6) | (1,147) |
Direct Registered Offering | ||
CASH FLOWS FROM FINANCING ACTIVITIES: | ||
Proceeds from offering of common stock, gross | 59,100 | 0 |
Payment of offering costs related to common stock issuance | $ (177) | $ 0 |
Background and Organization
Background and Organization | 9 Months Ended |
Sep. 30, 2018 | |
Organization Consolidation And Presentation Of Financial Statements [Abstract] | |
Background and Organization | 1. Background and Organization ViewRay, Inc., or ViewRay or the Company, and its wholly-owned subsidiary ViewRay Technologies, Inc., designs, manufactures and markets MRIdian, an MR Image-Guided radiation therapy system to simultaneously image and treat cancer patients. Since inception, ViewRay Technologies, Inc. has devoted substantially all of its efforts towards research and development, initial selling and marketing activities, raising capital and the manufacturing, shipment and installation of MRIdian systems. In May 2012, ViewRay Technologies, Inc. was granted clearance from the U.S. Food and Drug Administration, or FDA, to sell MRIdian with Cobalt-60. In November 2013, ViewRay Technologies, Inc. received its first clinical acceptance of a MRIdian with Cobalt-60 at a customer site, and the first patient was treated with that system in January 2014. ViewRay Technologies, Inc. has had the right to affix the CE mark to MRIdian with Cobalt-60 in the European Economic Area since November 2014. In September 2016, the Company received the rights to affix the CE mark to MRIdian Linac, and in February 2017, the Company received 510(k) clearance from the FDA to market MRIdian Linac. The Company’s condensed consolidated financial statements have been prepared on the basis of the Company continuing as a going concern for a reasonable period of time. The Company’s principal sources of liquidity are cash flows from public and private offerings of capital stocks and available borrowings under its term loan agreement, as well as from sales of its systems and services. These have historically been sufficient to meet working capital needs, capital expenditures, and debt service obligations. During the nine months ended September 30, 2018, the Company incurred a net loss of $59.7 million and used cash in operations of $77.4 million. The Company believes that its existing cash balance of $201.5 million as of September 30, 2018, together with anticipated cash proceeds from sales of MRIdian systems will be sufficient to fund operations for at least the next 12 months. |
Summary of Significant Accounti
Summary of Significant Accounting Policies | 9 Months Ended |
Sep. 30, 2018 | |
Accounting Policies [Abstract] | |
Summary of Significant Accounting Policies | 2. Summary of Significant Accounting Policies Basis of Presentation The condensed consolidated financial statements have been prepared in conformity with accounting principles generally accepted in the United States, or U.S. GAAP, and pursuant to the rules and regulations of the Securities and Exchange Commission, or the SEC. The condensed consolidated financial statements include the accounts of ViewRay, Inc. and its wholly-owned subsidiary, ViewRay Technologies, Inc. All inter-company accounts and transactions have been eliminated in consolidation. In the opinion of management, all adjustments, including normal recurring adjustments, considered necessary for a fair presentation of the Company’s unaudited condensed consolidated financial statements, have been included. The results of operations for the three and nine months ended September 30, 2018 are not necessarily indicative of the results that may be expected for the year ending December 31, 2018 or any future period. These unaudited condensed consolidated financial statements and their notes should be read in conjunction with the audited consolidated financial statements and related notes included in the Company’s Annual Report on Form 10-K for the fiscal year ended December 31, 2017. Effective January 1, 2018, the Company adopted Accounting Standards Codification Topic 606, or ASC 606, Revenues from Contracts with Customers, Significant Accounting Policies The significant accounting policies used in preparation of these condensed consolidated financial statements are disclosed in the notes to consolidated financial statements included in the Company’s Annual Report on Form 10-K for the fiscal year ended December 31, 2017 filed with the SEC on March 12, 2018, and have not changed significantly since that filing, except for the impact of the adoption of the new accounting guidance related to revenue recognition. Revenue Recognition The Company derives revenues primarily from the sale of MRIdian systems and related services as well as support and maintenance services on sold systems. The Company accounts for revenue contracts with customers by applying the requirements of ASC 606, which includes the following steps: • Identification of the contract, or contracts, with a customer; • Identification of the performance obligations in the contract; • Determination of the transaction price; • Allocation of the transaction price to the performance obligations in the contract; and • Recognition of revenue when, or as, the Company satisfies a performance obligation. In all sales arrangements, revenues are recognized when control of the promised goods or services are transferred to customers, in an amount that reflects the consideration the Company expects to be entitled to receive in exchange for those goods or services. For sales of MRIdian systems that the Company is required to install at the customer site, product revenue is recognized upon receipt of customer acceptance. For sales of MRIdian systems for which the Company is not responsible for installation, product revenue is recognized when the entire system is delivered and control of the system is transferred to the customer. For sales of the related support and maintenance services, a time-elapsed method is used to measure progress toward complete satisfaction of performance obligations and service revenue is recognized ratably over the service contract term, which is typically 12 months. Arrangements with Multiple Performance Obligation The Company frequently enters into sales arrangements that include multiple performance obligations. Such performance obligations mainly consist of (i) sale of MRIdian systems, which generally includes installation and embedded software, and (ii) product support, which includes extended service and maintenance. For such arrangements, the Company allocates revenue to each performance obligation based on its relative standalone selling price. The standalone selling price, or SSP, is determined based on observable prices at which the Company separately sells the products and services. If an SSP is not directly observable, the Company will estimate the SSP considering market conditions or internally approved pricing guidelines related to the performance obligations. Product Revenue Product revenue is derived primarily from the sales of MRIdian system. The system contains both software and non-software components that together deliver essential functionality. The Company’s customer contracts generally call for on-site assembly of the system components and system integration. Once the system installation is completed, the Company performs a detailed demonstration with the customer showing that the MRIdian system meets the standard product specifications. After successful demonstration, the customer signs a document indicating customer’s acceptance. For sales of MRIdian systems that the Company is required to install at the customer site, revenue recognition occurs when the customer acknowledges that the system operates in accordance with standard product specifications, the customer accepts the installed unit by signing the acceptance document and the control of the system is transferred to the customer. Certain customer contracts with distributors do not require ViewRay installation at the customer site, and the distributors typically perform the installation. For sales of MRIdian systems for which the Company is not responsible for installation, revenue recognition occurs when the entire system is delivered, and the control of the system is transferred to the customer. Service Revenue Service revenue is derived primarily from maintenance services. The maintenance and support service is a stand-ready obligation which is performed over the term of the arrangement and, as a result, service revenue is recognized ratably over the service period as the customers benefit from the service throughout the service period. Distribution Rights Revenue In December 2014, the Company entered into a distribution agreement with Itochu Corporation pursuant to which it appointed Itochu as its exclusive distributor for the promotion, sale and delivery of MRIdian products within Japan. In consideration of the exclusive distribution rights granted, the Company received $4.0 million, which was recorded as deferred revenue. Starting in August 2016, distribution rights revenue is recognized ratably over the remaining term of the distribution agreement of approximately 8.5 years . The following table presents revenue disaggregated by type and geography (in thousands): Three Months Ended September 30, Nine Months Ended September 30, U.S. 2018 2017 2018 2017 Product $ 6,187 $ 5,739 $ 25,775 $ 5,739 Service 566 388 1,464 1,579 Total U.S. revenue $ 6,753 $ 6,127 $ 27,239 $ 7,318 Outside of U.S. ("OUS") Product $ 10,305 $ 5,619 $ 31,462 $ 5,619 Service 490 333 1,242 829 Distribution rights 118 118 356 356 Total OUS revenue $ 10,913 $ 6,070 $ 33,060 $ 6,804 Total Product $ 16,492 $ 11,358 $ 57,237 $ 11,358 Service 1,056 721 2,706 2,408 Distribution rights 118 118 356 356 Total revenue $ 17,666 $ 12,197 $ 60,299 $ 14,122 Contract Balances The timing of revenue recognition, billings and cash collections results in short-term and long-term trade receivables, customer deposits, deferred revenues and deferred cost of revenue on the condensed consolidated balance sheets. Trade receivables are recorded at the original invoiced amount, net of an estimated allowance for doubtful accounts. Trade credit is generally extended on a short-term basis. The Company occasionally provides for long-term trade credit for its maintenance services so that the period between when the services are rendered to its customers and when the customers pay for that service is within one year. Thus, the Company’s trade receivables do not bear interest or contain a significant financing component. Long-term trade receivables of $400 thousand were reported within other assets in the condensed consolidated balance sheets at September 30, 2018. These amounts are billed in accordance with the terms of the customer contracts to which they relate and are expected to be collected three to four years from the date of invoice as the underlying maintenance services are rendered. At times, billing occurs subsequent to revenue recognition, resulting in an unbilled receivable which represents a contract asset. This contract asset is recorded as an unbilled receivable and reported as part of accounts receivable on the condensed consolidated balance sheets. The Company had no long-term trade receivables at December 31, 2017. Trade receivables are periodically evaluated for collectability based on past credit history of the respective customers and their current financial condition. Changes in the estimated collectability of trade receivables are included in the results of operations for the period in which the estimate is revised. Trade receivables that are deemed uncollectible are offset against the allowance for doubtful accounts. The Company generally does not require collateral for trade receivables. There was no allowance for doubtful accounts recorded at September 30, 2018 or December 31, 2017. Customer deposits represent payments received in advance of system installation. For domestic and international sales, advance payments received prior to inventory shipments and customer acceptance are recorded as customer deposits. Advance payments are subsequently reclassified to deferred revenue upon inventory shipment when the title and risk of loss of inventory items transfer to customers. All customer deposits, including those that are expected to be a deposit for more than one year, are classified as current liabilities based on consideration of the Company’s normal operating cycle (the time between acquisition of the inventory components and the final cash collection from customers on these inventory components) which is in excess of one year. Deferred revenue consists of deferred product revenue and deferred service revenue. Deferred product revenue arises from timing differences between the fulfillment of contract obligations and satisfaction of all revenue recognition criteria consistent with the Company’s revenue recognition policy. Deferred service revenue results from the advance billing for services to be delivered over a period of time. Deferred revenues expected to be realized within one year or normal operating cycle are classified as current liabilities. Deferred cost of revenue consists of cost for inventory items that have been shipped with title and risk of loss transferred to the customer, but the customer acceptance has not yet been received. Deferred cost of revenue is included as part of current assets as the corresponding deferred product revenue is expected to be realized within one year or the Company’s normal operating cycle. During the three and nine months ended September 30, 2018, the Company recognized $12.2 million and $18.3 million revenue that was included in the deferred revenue balance at the beginning of each reporting period. During the three and nine months ended September 30, 2017, the Company recognized $9.0 million and $5.8 million revenue that was included in the deferred revenue balance at the beginning of each reporting period. Variable Consideration The Company records revenue from customers in an amount that reflects the transaction price it expects to be entitled to after transferring control of those goods or services. The Company estimates the transaction price at contract inception, including any variable consideration, and updates the estimate each reporting period for any changes. During the three and nine months ended September 30, 2018, one of the contracts contained variable consideration, which is attributed to an asserted penalty that the Company is disputing related to a system installation for one customer. The Company estimated the variable consideration based on the best information available to management and applied the most likely amount method to estimate the transaction price. The transaction price, which includes variable consideration reflecting the impact of the asserted penalty dispute, may be subject to constraint and is included in the net revenues only to the extent that it is probable that a significant reversal of the amount of the cumulative revenues recognized will not occur in a future period when the uncertainty is subsequently resolved. The net transaction price after reducing the variable consideration was then proportionally allocated to all the distinct performance obligations in the transaction. The Company will update the estimate of the variable consideration at each reporting period until the uncertainty is resolved. Practical Expedients Election As part of the Company's adoption of ASC 606, the Company elected to use the practical expedient to expense costs to obtain a contract as incurred when the amortization period would have been one year or less. Such costs include the Company's internal sales force compensation program. Recent Accounting Pronouncements In February 2016, the Financial Accounting Standards Board, or FASB, issued Accounting Standards Update, or ASU, No. 2016-02, Leases (Topic 842) In June 2018, the FASB issued ASU No. 2018-07, Compensation — Stock Compensation (Topic 718): Improvements to Nonemployee Share-Based Payment Accounting In August 2018, the FASB issued ASU No. 2018-13, Fair Value Measurement (Topic 820): Disclosure Framework- Changes to the Disclosure Requirements for Fair Value Measurement, Recently Adopted Accounting Pronouncements In May 2014, the FASB issued ASC 606. Under the standard, revenue is recognized when a customer obtains control of promised goods or services in an amount that reflects the consideration the entity expects to receive in exchange for those goods or services. Effective January 1, 2018, the Company adopted the requirements of ASC 606 using the full retrospective method. The adoption had no impact on the prior period financial statements, and the related disclosures required by the new standard have been updated in the “Significant Accounting Policies” section above. On January 1, 2018, the Company adopted ASU No.2016-15 , Statement of Cash Flows (Topic 230): Classification of Certain Cash Receipts and Cash Payments Statement of Cash Flows (Topic 230): Restricted Cash Under ASU 2016-18, restricted cash and restricted cash equivalent amounts are presented along with cash and cash equivalents when reconciling the total beginning and ending amounts shown on the statements of cash flows. The Company reflected the impact of ASU 2016-18 to the comparative prior period which resulted in an increase in the beginning and ending cash, cash equivalents and restricted cash of $ In May 2017, the FASB issued ASU No. 2017-09 , Compensation-Stock Compensation (Topic 718): Scope of Modification Accounting I n the first quarter of 2018, the Company adopted ASU No. 2018-05, Income Taxes (Topic 740): Amendments to SEC Paragraphs Pursuant to SEC Staff Accounting Bulletin No. 118, which included amendments to expand income tax accounting and disclosure guidance pursuant to SEC Staff Accounting Bulletin No. 118, or SAB 118, issued by the SEC in December 2017. SAB 118 provides guidance on accounting for the income tax effects of the Tax Reform Act. Refer to Note 12, Income Taxes, for more information and disclosures related to this amended guidance. |
Balance Sheet Components
Balance Sheet Components | 9 Months Ended |
Sep. 30, 2018 | |
Organization Consolidation And Presentation Of Financial Statements [Abstract] | |
Balance Sheet Components | 3. Balance Sheet Components Property and Equipment Property and equipment consisted of the following (in thousands): September 30, 2018 December 31, 2017 Prototype $ 12,425 $ 11,929 Machinery and equipment 11,684 7,831 Leasehold improvements 4,327 4,438 Software 1,244 1,142 Furniture and fixtures 588 558 Property and equipment, gross 30,268 25,898 Less: accumulated depreciation and amortization (16,816 ) (14,334 ) Property and equipment, net $ 13,452 $ 11,564 Depreciation and amortization expense related to property and equipment were $906 thousand and $565 thousand during the three months ended September 30, 2018 and 2017, respectively; and $2.5 million and $1.6 million during the nine months ended September 30, 2018 and 2017, respectively. Accrued Liabilities Accrued liabilities consisted of the following (in thousands): September 30, 2018 December 31, 2017 Accrued payroll and related benefits $ 5,951 $ 3,944 Accrued accounts payable 2,642 2,671 Payroll withholding tax, sales and other tax payable 4,733 149 Accrued legal, accounting and professional fees 498 322 Other 56 121 Total accrued liabilities $ 13,880 $ 7,207 Deferred Revenue Deferred revenue consisted of the following (in thousands): September 30, 2018 December 31, 2017 Deferred revenue: Product $ 7,478 $ 18,861 Service 6,053 1,182 Distribution rights 2,990 3,346 Total deferred revenue 16,521 23,389 Less: current portion of deferred revenue (11,315 ) (20,151 ) Noncurrent portion of deferred revenue $ 5,206 $ 3,238 Other Long-Term Liabilities September 30, 2018 December 31, 2017 Accrued interest, noncurrent portion $ 8,777 $ 6,218 Deferred rent, noncurrent portion 492 167 Other 585 985 Total other-long term liabilities $ 9,854 $ 7,370 |
Fair Value of Financial Instrum
Fair Value of Financial Instruments | 9 Months Ended |
Sep. 30, 2018 | |
Fair Value Disclosures [Abstract] | |
Fair Value of Financial Instruments | 4. Fair Value of Financial Instruments The Company’s financial instruments that are carried at fair value mainly consist of Level 1 assets and Level 3 liabilities. Level 1 assets include highly liquid bank deposits and money market funds, which were not material at September 30, 2018 and December 31, 2017. Level 3 liabilities that are measured on a recurring basis consist of the 2017 and 2016 Placement Warrants, as described in Note 8. Placement warrant liabilities are valued using the Black-Scholes option-pricing model. Generally, increases (decreases) in the fair value of the underlying stock, volatility and estimated term would result in a directionally similar impact to the fair value of the warrants (see Note 10). The gains and losses from re-measurement of Level 3 financial liabilities are recorded as part of other income (expense), net in the condensed consolidated statements of operations and comprehensive loss. During the three and nine months ended September 30, 2018, the Company recorded a loss of $6.7 million and a gain of $0.4 million, respectively, related to the change in fair value of the 2017 and 2016 Placement Warrants. During the three and nine months ended September 30, 2017, the Company recorded a gain of $2.3 million and a loss of $6.7 million in other income (expense), net within the condensed consolidated statements of operations and comprehensive loss, respectively, related to the change in fair value of the 2017 and 2016 Placements Warrants. There were no transfers between Level 1, Level 2 and Level 3 in any periods presented. The following table sets forth the fair value of the Company’s financial liabilities by level within the fair value hierarchy (in thousands): At September 30, 2018 Level 1 Level 2 Level 3 Total 2017 Placement Warrants Liability $ — $ — $ 12,400 $ 12,400 2016 Placement Warrants Liability — — 9,562 9,562 Total $ — $ — $ 21,962 $ 21,962 At December 31, 2017 Level 1 Level 2 Level 3 Total 2017 Placement Warrants Liability $ — $ — $ 12,487 $ 12,487 2016 Placement Warrants Liability — — 9,933 9,933 Total $ — $ — $ 22,420 $ 22,420 The following table sets forth a summary of the changes in fair value of the Company’s Level 3 financial liabilities (in thousands): Nine Months Ended September 30, 2018 2017 Fair value, beginning of period $ 22,420 $ 2,723 Issuance of 2017 Placement Warrants — 3,373 Fair value of common stock warrants reclassified from liability to additional paid-in capital upon exercise (342 ) — Change in fair value of Level 3 financial liabilities (116 ) 6,739 Fair value, end of period $ 21,962 $ 12,835 |
Debt
Debt | 9 Months Ended |
Sep. 30, 2018 | |
Debt Instruments [Abstract] | |
Debt | 5. Debt CRG Term Loan In June 2015, ViewRay Technologies, Inc. entered into a term loan agreement, or the CRG Term Loan, with Capital Royalty Partners II L.P., Capital Royalty Partners II – Parallel Fund “A” L.P., Capital Royalty Partners II (Cayman) L.P. and Parallel Investment Opportunities Partners II L.P. or together with their successors by assignment, CRG, for up to $50.0 million, of which $30.0 million was made available to the Company upon closing and the remaining $20.0 million to be available on or before June 30, 2016, upon the achievement of certain milestones. The Company drew down the first $30.0 million on the closing date. The CRG Term Loan has a maturity date of June 30, 2020 and bears cash interest at a rate of 12.5% per annum to be paid quarterly during the interest-payment-only period of 3 years. In April 2017, the CRG Term Loan was amended to allow for interest-payment-only until March 31, 2020. During the interest-payment-only period, the Company has the option to elect to pay only 8% of the 12.5% per annum interest in cash, and the remaining 4.5% of the 12.5% per annum interest as compounded interest, or deferred payment in-kind interest, added to the aggregate principal amount of the CRG Term Loan. Principal payment and any deferred payment in-kind interest will be paid on the maturity date. The CRG Term Loan is subject to a prepayment penalty of: 3% on the outstanding balance during the first 12 months following the funding of the Term Loan; 2% on the outstanding balance after year 1 but on or before year 2; 1% on the outstanding balance after year 2 but on or before year 3; and 0% on the outstanding loan if prepaid after year 3 thereafter until maturity. The CRG Term Loan is also subject to a facility fee of 7% based on the total outstanding principal and in-kind interest, which is payable on the maturity date. All direct financing costs were accounted for as a discount on the CRG Term Loan and are amortized to interest expense during the term of the loan using the effective interest method. The CRG Term Loan is subject to financial covenants and is collateralized by essentially all assets of the Company and limits the Company’s ability with respect to additional indebtedness, investments or dividends, among other things, subject to customary exceptions. In March 2016, the Company amended the agreement with regard to the conditions for borrowing the remaining $20.0 million under the CRG Term Loan if certain product and service revenue amounts were achieved. In May 2016, the Company drew down an additional $15.0 million under the CRG Term Loan. In April and October 2017, and in February 2018, the Company executed three amendments, which allowed the Company to borrow the remaining $5.0 million through June 30, 2017, included an additional $15.0 million borrowing capacity available through December 31, 2017, extended the interest-only and payment in-kind period, decreased the combined 2016 and 2017 revenue covenant, and increased the facility fee by 1.75%. The Company did not draw down any amounts under these amendments and they have since expired. At September 30, 2018, the Company had $45.0 million in outstanding debt and $6.5 million in deferred payment in-kind interest and was in compliance with all financial covenants under the CRG Term Loan. |
Commitments and Contingencies
Commitments and Contingencies | 9 Months Ended |
Sep. 30, 2018 | |
Commitments And Contingencies Disclosure [Abstract] | |
Commitments and Contingencies | 6. Commitments and Contingencies Operating Leases The Company leases office space in Oakwood Village, Ohio and Mountain View, California under noncancelable operating lease agreements. The Company leases and occupies approximately 19,800 square feet of office space in Oakwood Village, Ohio, which expires on October 31, 2019, with an option to extend the term through October 31, 2021. In June 2014, the Company entered into an office lease agreement to lease approximately 25,500 square feet of office space located in Mountain View, California, which expires on November 30, 2019. In June 2018, the Company entered into an amendment to extend the term of the lease agreement through July 31, 2025. In April 2018, the Company entered into a lease agreement to lease approximately 24,600 square feet of additional office space located in Mountain View, California. The lease expires on the seventh anniversary of the commencement date, and the Company has the option to extend the term of the lease for a period of up to five years. At September 30, 2018, the future minimum payments for the operating leases were as follows (in thousands): Year Ending December 31, Future Payments The remainder of 2018 $ 322 2019 2,039 2020 2,321 2021 2,391 2022 2,463 Thereafter 6,709 Total future minimum payments $ 16,245 Legal Proceedings In the normal course of business, the Company may become involved in legal proceedings. The Company will accrue a liability for legal proceedings when it is probable that a liability has been incurred and the amount can be reasonably estimated. Significant judgment is required to determine both probability and the estimated amount. When only a range of possible loss can be established, the most probable amount in the range is accrued. If no amount within this range is a better estimate than any other amount within the range, the minimum amount in the range is accrued. At September 30, 2018 and December 31, 2017, the Company was not involved in any material legal proceedings. Purchase Commitments At September 30, 2018 and December 31, 2017, the Company had no outstanding firm purchase commitments. |
Distribution Agreement
Distribution Agreement | 9 Months Ended |
Sep. 30, 2018 | |
Related Party Transactions [Abstract] | |
Distribution Agreement | 7. Distribution Agreement In connection with the distribution agreement entered into in December 2014, between the Company and Itochu Corporation, or Itochu, the Company received a distribution fee of $4.0 million in three installments from Itochu for serving as the Company’s exclusive distributor for the sale and delivery of its MRIdian systems within Japan. In August 2016, the Company started recognizing distribution rights revenue ratably over the remaining term of the exclusive distribution agreement of approximately 8.5 years. A time-elapsed method is used to measure progress because control is transferred evenly over the remaining contractual period. |
Equity Financing
Equity Financing | 9 Months Ended |
Sep. 30, 2018 | |
Equity [Abstract] | |
Equity Financing | 8. Equity Financing Public Offering Of Common Stock On August 14, 2018, the Company entered into an underwriting agreement with Morgan Stanley & Co. LLC and Jefferies LLC, as representatives of several underwriters, or the “Underwriters”, in connection with the issuance and sale of 16,216,217 shares of the Company’s common stock at a public offering price of $9.25 per share. In addition, the Company granted the Underwriters a 30-day option to purchase up to 2,432,432 additional shares of common stock on the same terms, which the Underwriters exercised in full. The Company completed the offering on August 17, 2018 under which it received aggregate net proceeds of approximately $161.9 million, after deducting underwriting discounts and commissions and offering expenses payable by the Company. Direct Registered Offerings In October 2017, the Company entered into securities purchase agreements pursuant to which it sold an aggregate of 8,382,643 shares of its common stock for total gross proceeds of $49.9 million, or the October 2017 Direct Registered Offering. The October 2017 Direct Registered Offering was closed on October 25, 2017. In February 2018, the Company entered into a securities purchase agreement pursuant to which it sold (i) 4,090,000 shares of its common stock; (ii) 3,000,581 shares of its Series A convertible preferred stock and (iii) warrants to purchase 1,418,116 shares of its common stock, or the 2018 Offering Warrants, for total gross proceeds of $59.1 million, or the March 2018 Direct Registered Offering. The March 2018 Direct Registered Offering was closed on March 5, 2018. The 2018 Offering Warrants have an exercise price of $8.31 per share, became exercisable upon issuance and expire in March 2025. Private Placements In January 2017, the Company completed the closing of a private placement offering, or the 2017 Private Placement, through which it sold (i) 8,602,589 shares of its common stock and (ii) warrants that provide the warrant holders the right to purchase 1,720,512 shares of its common stock, or the 2017 Placement Warrants, and raised total gross proceeds of $26.1 million. The 2017 Placement Warrants have an exercise price of $3.17 per share, became exercisable in July 2017 and expire in January 2024. At-The-Market Offering of Common Stock In January 2017, the Company filed a shelf registration statement on Form S-3 with the SEC, which included a base prospectus covering the offering, issuance and sale of up to a maximum aggregate offering of $75.0 million of the Company’s common stock, preferred stock, debt securities, warrants, purchase contracts and/or units. In January and April 2017, the Company agreed to sell up to a cumulative $50.0 million of its common stock in accordance with the terms of a sales agreement with , pursuant to an at-the-market offering program in accordance with Rule 415(a)(4) under the Securities Act. During the nine months ended September 30, 2018, the Company sold an aggregate of 33,097 shares of its common stock at an average market price of $8.41 per share, resulting in aggregate gross proceeds of approximately $0.3 million. |
Convertible Preferred Stock
Convertible Preferred Stock | 9 Months Ended |
Sep. 30, 2018 | |
Equity [Abstract] | |
Convertible Preferred Stock | 9. Convertible Preferred Stock In March 2018, the Company issued 3,000,581 shares of Series A convertible preferred stock to an existing investor through the March 2018 Direct Registered Offering at a price of $8.31 per share (see Note 8). At the date of the financing, because the effective conversion rate of the preferred stock was less than the market value of the Company’s common stock, a beneficial conversion feature of $2.7 million has been recorded as a discount to the convertible preferred stock and an increase to additional paid in capital. Because the preferred stock was perpetual and convertible at the option of the holder at any time, the Company fully amortized the discount related to the beneficial conversion feature as a deemed dividend which was recognized as an increase to accumulated deficit and net loss attributable to common stockholders. Effective on April 19, 2018, all outstanding shares of Series A convertible preferred stock were converted into shares of common stock at a conversion ratio of 1:1. Further, in May 2018, the Company filed a Certificate of Elimination of the Series A Convertible Preferred Stock de-authorizing the 3,000,581 shares of Series A convertible preferred stock. The Company had no outstanding preferred stock as of September 30, 2018. |
Warrants
Warrants | 9 Months Ended |
Sep. 30, 2018 | |
Equity [Abstract] | |
Warrants | 10. Warrants Equity Classified Common Stock Warrants In connection with a debt financing in December 2013, the Company issued warrants to purchase 128,231 shares of its common stock with an exercise price of $5.84 per share. These warrants are exercisable any time at the option of the holder until December 16, 2023. None of these warrants have been exercised to date and they all remained outstanding at September 30, 2018. In connection with the merger of the Company and ViewRay Technologies, Inc. in July 2015, or the Merger, in July and August 2015, the Company conducted a private placement offering during which the Company the five-year anniversary of its date of issuance In connection with the March 2018 Direct Registered Offering, the Company issued warrants to purchase 1,418,116 shares of common stock at an exercise price of $8.31 per share, or the 2018 Offering Warrants. The 2018 Offering Warrants became exercisable upon issuance and expire in March 2025. None of the 2018 Offering Warrants have been exercised to date and they all remained outstanding at September 30, 2018. As separate classes of securities were issued in a bundled transaction, the gross proceeds from the March 2018 Direct Registered Offering of $59.1 million was allocated to common stock, Series A convertible preferred stock and the 2018 Offering Warrants based on their respective relative fair value upon issuance. The aggregate fair value of the 2018 Offering Warrants of $7.4 million was estimated using the Black-Scholes option-pricing model with the following weighted-average assumptions: expected term of seven years, expected volatility of 62.5%, risk-free interest rate of 2.8% and expected dividend yield of 0%. The allocated proceeds from the 2018 Offering Warrants of $6.6 million was recorded in additional paid-in-capital. Liability Classified Common Stock Warrants In connection with private placement offerings in 2017 and 2016, the Company issued common stock warrants, or the 2017 and 2016 Placement Warrants, which contain protection whereby the warrants holders will have the right to receive cash in the amount equal to the Black-Scholes value of the warrants upon the occurrence of a Change of Control, as defined in the 2017 and 2016 Placement Warrants. The 2017 and 2016 Placement Warrants were accounted for as a liability at the date of issuance and are adjusted to fair value at each balance sheet date, with the change in fair value recorded as a component of other income (expense), net in the condensed consolidated statements of operations and comprehensive loss. The key terms of the 2017 and 2016 Placement Warrants are as follows: Issuance Date Term Exercise Price Per Share Warrants Exercised during the Nine Months Ended September 30, 2018 Warrants Outstanding at September 30, 2018 2017 Placement Warrants January 2017 7 years $ 3.17 — 1,711,123 2016 Placement Warrants August and September 2016 7 years $ 2.95 44,183 1,311,458 Total 44,183 3,022,581 During the three and nine months ended September 30, 2018, the Company recorded a loss of $6.7 million and a gain of $0.4 million, respectively, related to the change in fair value of the 2016 and 2017 Placement Warrants. During the three and nine months ended September 30, 2017, the Company recorded a gain of $2.3 million and a loss of $6.7 million, respectively, related to the change in fair value of the 2016 and 2017 Placement Warrants. The fair value of the 2016 and 2017 Placement Warrants at September 30, 2018 and December 31, 2017, respectively, was estimated using the Black-Scholes option-pricing model and the following weighted-average assumptions: 2017 Placement Warrants 2016 Placement Warrants September 30, 2018 December 31, 2017 September 30, 2018 December 31, 2017 Expected term (in years) 5.3 6.1 4.9 5.7 Expected volatility 59.6% 62.3% 59.7% 62.1% Risk-free interest rate 3.0% 2.3% 2.9% 2.2% Expected dividend yield 0% 0% 0 0% |
Stock-Based Compensation
Stock-Based Compensation | 9 Months Ended |
Sep. 30, 2018 | |
Disclosure Of Compensation Related Costs Sharebased Payments [Abstract] | |
Stock-Based Compensation | 11. Stock-Based Compensation A summary of the Company’s stock option activity and related information is as follows: Options Outstanding Shares Available for Grant Number of Stock Options Outstanding Weighted- Average Exercise Price Weighted- Average Remaining Contractual Life (Years) Aggregate Intrinsic Value (In thousands) Balance at December 31, 2017 969,783 8,592,747 $ 3.69 7.4 $ 47,864 Additional options authorized 8,326,158 — Options granted (5,716,505 ) 5,716,505 8.66 Options exercised — (1,607,108 ) 2.22 Options canceled 801,933 (801,933 ) 6.00 RSUs granted (1,767,542 ) — Balance at September 30, 2018 2,613,827 11,900,211 $ 6.12 7.3 $ 39,509 Vested and exercisable at September 30, 2018 4,731,731 $ 3.57 5.1 $ 27,404 Vested and expected to vest at September 30, 2018 11,397,852 $ 6.06 7.2 $ 38,576 The weighted-average grant date fair value of options granted to employees was $5.02 and $3.18 per share during the nine months ended September 30, 2018 and 2017, respectively. The grant date fair value of options vested was $4.3 million and $2.9 million during the nine months ended September 30, 2018 and 2017, respectively. Aggregate intrinsic value represents the difference between the estimated fair value of the underlying common stock and the exercise price of outstanding, in-the-money options. The aggregate intrinsic value of options exercised was $11.6 million and $1.8 million during the nine months ended September 30, 2018 and 2017, respectively. At September 30, 2018, total unrecognized compensation cost related to stock options granted to employees, net of estimated forfeitures, was $28.9 million which is expected to be recognized over a weighted-average period of 3.3 years. Determination of Fair Value The determination of the fair value of stock options on the date of grant using an option-pricing model is affected by the estimated fair value of the Company’s common stock, as well as assumptions regarding a number of complex and subjective variables. The variables used to calculate the fair value of stock options using the Black-Scholes option-pricing model include actual and projected employee stock option exercise behaviors, expected price volatility of the Company’s common stock, the risk-free interest rate and expected dividends. Each of these inputs is subjective and generally requires significant judgment to determine. The fair value of employee stock option is estimated at the date of grant using a Black-Scholes option-pricing model with the following weighted-average assumptions: Nine Months Ended September 30, 2018 2017 Expected term (in years) 6.0 6.0 Expected volatility% 60.4% 66.9% Risk-free interest rate% 2.8% 2.1% Expected dividend yield% 0.0% 0.0% Restricted Stock Units From time to time, the Company grants Restricted Stock Units, or RSUs, to its board of directors for their services. These RSUs are either fully vested upon issuance or vest over a period of time from the grant date and will be released and settled upon termination of the board member’s services or the occurrence of a change in control event. In November 2017, the Company granted RSUs to one executive officer upon his termination, and these RSUs were fully vested upon issuance. In July 2018, the Company granted RSUs to two new executive officers, and these RSUs vest in equal annual installments over three years from the grant date. The fair value of RSUs is based on the closing market price of the Company’s common stock on the grant date. RSUs Number of Shares Weighted Average Grant Date Fair Value Unvested at December 31, 2017 — $ — RSUs granted 1,767,542 9.65 RSUs vested (20,109 ) 10.31 Unvested at September 30, 2018 1,747,433 $ 9.64 Vested and unreleased 130,889 Outstanding at September 30, 2018 1,878,322 For the nine months ended September 30, 2018, the Company granted 1.8 million shares of RSUs, and recorded $1.2 million in stock-based compensation expense related to the issuance of RSUs. For the nine months ended September 30, 2017, no RSUs were issued and no stock-based compensation expense was recorded related to RSUs. As of September 30, 2018, total unrecognized stock-based compensation cost related to RSUs was $14.6 million, which is expected to be recognized over a weighted-average period of 2.8 years. As of September 30, 2018, 1,627,261 shares of RSUs are expected to vest. Stock-Based Compensation Expense Total stock-based compensation expense recognized in the Company’s condensed consolidated statements of operations and comprehensive loss is classified as follows (in thousands): Three Months Ended September 30, Nine Months Ended September 30, 2018 2017 2018 2017 Research and development $ 511 $ 221 $ 1,061 $ 602 Selling and marketing 234 70 555 193 General and administrative 6,434 693 8,436 1,971 Total stock-based compensation expense $ 7,179 $ 984 $ 10,052 $ 2,766 During the three and nine months ended September 30, 2018 and 2017, there was no stock-based compensation expense capitalized as a component of inventory or recognized in cost of revenue. Stock-based compensation relating to stock-based awards granted to consultants was insignificant during the three and nine months ended September 30, 2018 and 2017. Modification of Certain Stock-based Awards In connection with the resignation of certain key executives during the third quarter of fiscal year 2018, the Company entered into separation and consulting agreements with each resigning executive. Pursuant to their separation and consulting agreements, the individuals will continue to vest in any unvested equity awards that would otherwise have vested in up to the twelve-month period, for one individual, and the six-month period, for the other two individuals, following their respective termination dates. The modification of the original option agreements resulted in total incremental stock-based compensation expense of $3.7 million, which was recognized upon the respective termination dates during the third quarter of fiscal 2018. |
Income Tax
Income Tax | 9 Months Ended |
Sep. 30, 2018 | |
Income Tax Disclosure [Abstract] | |
Income Tax | 12. Income Tax The Tax Cuts and Jobs Act, or the 2017 Tax Act, was enacted on December 22, 2017. Among various provisions, the 2017 Tax Act reduces the U.S. federal corporate tax rate from 35% to 21%. The Company recognized the income tax effects of the 2017 Tax Act in its 2017 financial statements in accordance with SEC Staff Accounting Bulletin No. 118 (“SAB 118”), which provides guidance for the application of ASC Topic 740, Income Taxes, in the reporting period in which the 2017 Tax Act was signed into law. As such, the Company’s 2017 financial results reflected the income tax effects of the 2017 Tax Act for which the accounting under ASC Topic 740 was complete and provisional amounts for those specific income tax effects of the 2017 Tax Act for which the accounting under ASC Topic 740 was incomplete, but a reasonable estimate could be determined. Upon completion of our 2017 U.S. income tax return in the current year, we may identify additional remeasurement adjustments to our recorded deferred tax assets. We will continue to assess our provision for income taxes as future guidance is issued, but do not currently anticipate significant revisions will be necessary. Any such revisions will be treated in accordance with the measurement period guidance outlined in SAB 118. For the quarter ended September 30, 2018, we have not made any adjustments to the provisional amounts recorded at December 31, 2017. Due to the current operating losses, the Company recorded zero income tax expense during the nine months ended September 30, 2018 and 2017, respectively. During these periods, the Company’s activities were limited to U.S. federal and state tax jurisdictions, as it does not have any foreign operations. The federal and state effective tax rate before valuation allowance is approximately 22% for the nine months ended September 30, 2018. Due to the Company’s history of cumulative losses, management concluded that, after considering all the available objective evidence, it is not more likely than not that all of the Company’s net deferred tax assets will be realized. Accordingly, the Company’s deferred tax assets, which includes net operating loss, or NOL, carryforwards and tax credits related primarily to research and development continue to be subject to a valuation allowance as of September 30, 2018. The Company expects to continue to maintain a full valuation allowance until there is sufficient evidence to support recoverability of its deferred tax assets. The Company had unrecognized tax benefits of $1.5 million and $1.1 million at September 30, 2018 and December 31, 2017, respectively. The reversal of the uncertain tax benefits would not affect the effective tax rate to the extent that the Company continues to maintain a full valuation allowance against its deferred tax assets. Unrecognized tax benefits may change during the next 12 months for items that arise in the ordinary course of business. Interest and/or penalties related to income tax matters are recognized as a component of income tax expense. At September 30, 2018, and December 31, 2017, there were no accrued interest and penalties related to uncertain tax positions. |
Net Loss per Share
Net Loss per Share | 9 Months Ended |
Sep. 30, 2018 | |
Earnings Per Share [Abstract] | |
Net Loss per Share | 13. Net Loss per Share Since the Company was in a loss position for all periods presented, diluted net loss per common share is the same as basic net loss per common share for all periods presented, because the inclusion of all potential common shares outstanding would have an anti-dilutive effect. The following weighted-average common stock equivalents were excluded from the calculation of diluted net loss per share for the periods presented, because including them would have an anti-dilutive effect: Three Months Ended September 30, Nine Months Ended September 30, 2018 2017 2018 2017 Series A convertible preferred stock (if converted) — — 494,601 — Options to purchase common stock 11,769,686 8,099,577 10,028,174 7,741,118 Common stock warrants 4,694,837 3,428,248 4,441,885 3,321,110 Restricted stock units 1,457,638 93,614 576,464 105,493 Total 17,922,161 11,621,439 15,541,124 11,167,721 |
Related Party Transactions
Related Party Transactions | 9 Months Ended |
Sep. 30, 2018 | |
Related Party Transactions [Abstract] | |
Related Party Transactions | 14. Related Party Transactions In December 2004, the Company entered into a licensing agreement with the University of Florida Research Foundation, or UFRF, whereby UFRF granted the Company a worldwide exclusive license to certain of UFRF’s patents in exchange for 33,652 shares of common stock and a 1% royalty, with a minimum $50,000 royalty payment per quarter, from sales of products developed and sold by the Company utilizing the licensed patents. In January 2017, the Company entered into a sales consulting agreement with Puissance Capital Management, or PCM, to assist with business development activities in a key market in Asia. PCM is the investment manager of Puissance Cross Board Opportunities LLP, a stockholder in the Company. Theodore T. Wang, Ph.D., a member of the Company’s board of directors, is the managing member of the general partners of PCM. The sales consulting agreement has a term of one year with a total consideration of $1.3 million. This amount has been fully expensed in the first quarter of 2018. |
Summary of Significant Accoun_2
Summary of Significant Accounting Policies (Policies) | 9 Months Ended |
Sep. 30, 2018 | |
Accounting Policies [Abstract] | |
Basis of Presentation | Basis of Presentation The condensed consolidated financial statements have been prepared in conformity with accounting principles generally accepted in the United States, or U.S. GAAP, and pursuant to the rules and regulations of the Securities and Exchange Commission, or the SEC. The condensed consolidated financial statements include the accounts of ViewRay, Inc. and its wholly-owned subsidiary, ViewRay Technologies, Inc. All inter-company accounts and transactions have been eliminated in consolidation. In the opinion of management, all adjustments, including normal recurring adjustments, considered necessary for a fair presentation of the Company’s unaudited condensed consolidated financial statements, have been included. The results of operations for the three and nine months ended September 30, 2018 are not necessarily indicative of the results that may be expected for the year ending December 31, 2018 or any future period. These unaudited condensed consolidated financial statements and their notes should be read in conjunction with the audited consolidated financial statements and related notes included in the Company’s Annual Report on Form 10-K for the fiscal year ended December 31, 2017. Effective January 1, 2018, the Company adopted Accounting Standards Codification Topic 606, or ASC 606, Revenues from Contracts with Customers, |
Significant Accounting Policies | Significant Accounting Policies The significant accounting policies used in preparation of these condensed consolidated financial statements are disclosed in the notes to consolidated financial statements included in the Company’s Annual Report on Form 10-K for the fiscal year ended December 31, 2017 filed with the SEC on March 12, 2018, and have not changed significantly since that filing, except for the impact of the adoption of the new accounting guidance related to revenue recognition. Revenue Recognition The Company derives revenues primarily from the sale of MRIdian systems and related services as well as support and maintenance services on sold systems. The Company accounts for revenue contracts with customers by applying the requirements of ASC 606, which includes the following steps: • Identification of the contract, or contracts, with a customer; • Identification of the performance obligations in the contract; • Determination of the transaction price; • Allocation of the transaction price to the performance obligations in the contract; and • Recognition of revenue when, or as, the Company satisfies a performance obligation. In all sales arrangements, revenues are recognized when control of the promised goods or services are transferred to customers, in an amount that reflects the consideration the Company expects to be entitled to receive in exchange for those goods or services. For sales of MRIdian systems that the Company is required to install at the customer site, product revenue is recognized upon receipt of customer acceptance. For sales of MRIdian systems for which the Company is not responsible for installation, product revenue is recognized when the entire system is delivered and control of the system is transferred to the customer. For sales of the related support and maintenance services, a time-elapsed method is used to measure progress toward complete satisfaction of performance obligations and service revenue is recognized ratably over the service contract term, which is typically 12 months. Arrangements with Multiple Performance Obligation The Company frequently enters into sales arrangements that include multiple performance obligations. Such performance obligations mainly consist of (i) sale of MRIdian systems, which generally includes installation and embedded software, and (ii) product support, which includes extended service and maintenance. For such arrangements, the Company allocates revenue to each performance obligation based on its relative standalone selling price. The standalone selling price, or SSP, is determined based on observable prices at which the Company separately sells the products and services. If an SSP is not directly observable, the Company will estimate the SSP considering market conditions or internally approved pricing guidelines related to the performance obligations. Product Revenue Product revenue is derived primarily from the sales of MRIdian system. The system contains both software and non-software components that together deliver essential functionality. The Company’s customer contracts generally call for on-site assembly of the system components and system integration. Once the system installation is completed, the Company performs a detailed demonstration with the customer showing that the MRIdian system meets the standard product specifications. After successful demonstration, the customer signs a document indicating customer’s acceptance. For sales of MRIdian systems that the Company is required to install at the customer site, revenue recognition occurs when the customer acknowledges that the system operates in accordance with standard product specifications, the customer accepts the installed unit by signing the acceptance document and the control of the system is transferred to the customer. Certain customer contracts with distributors do not require ViewRay installation at the customer site, and the distributors typically perform the installation. For sales of MRIdian systems for which the Company is not responsible for installation, revenue recognition occurs when the entire system is delivered, and the control of the system is transferred to the customer. Service Revenue Service revenue is derived primarily from maintenance services. The maintenance and support service is a stand-ready obligation which is performed over the term of the arrangement and, as a result, service revenue is recognized ratably over the service period as the customers benefit from the service throughout the service period. Distribution Rights Revenue In December 2014, the Company entered into a distribution agreement with Itochu Corporation pursuant to which it appointed Itochu as its exclusive distributor for the promotion, sale and delivery of MRIdian products within Japan. In consideration of the exclusive distribution rights granted, the Company received $4.0 million, which was recorded as deferred revenue. Starting in August 2016, distribution rights revenue is recognized ratably over the remaining term of the distribution agreement of approximately 8.5 years . The following table presents revenue disaggregated by type and geography (in thousands): Three Months Ended September 30, Nine Months Ended September 30, U.S. 2018 2017 2018 2017 Product $ 6,187 $ 5,739 $ 25,775 $ 5,739 Service 566 388 1,464 1,579 Total U.S. revenue $ 6,753 $ 6,127 $ 27,239 $ 7,318 Outside of U.S. ("OUS") Product $ 10,305 $ 5,619 $ 31,462 $ 5,619 Service 490 333 1,242 829 Distribution rights 118 118 356 356 Total OUS revenue $ 10,913 $ 6,070 $ 33,060 $ 6,804 Total Product $ 16,492 $ 11,358 $ 57,237 $ 11,358 Service 1,056 721 2,706 2,408 Distribution rights 118 118 356 356 Total revenue $ 17,666 $ 12,197 $ 60,299 $ 14,122 Contract Balances The timing of revenue recognition, billings and cash collections results in short-term and long-term trade receivables, customer deposits, deferred revenues and deferred cost of revenue on the condensed consolidated balance sheets. Trade receivables are recorded at the original invoiced amount, net of an estimated allowance for doubtful accounts. Trade credit is generally extended on a short-term basis. The Company occasionally provides for long-term trade credit for its maintenance services so that the period between when the services are rendered to its customers and when the customers pay for that service is within one year. Thus, the Company’s trade receivables do not bear interest or contain a significant financing component. Long-term trade receivables of $400 thousand were reported within other assets in the condensed consolidated balance sheets at September 30, 2018. These amounts are billed in accordance with the terms of the customer contracts to which they relate and are expected to be collected three to four years from the date of invoice as the underlying maintenance services are rendered. At times, billing occurs subsequent to revenue recognition, resulting in an unbilled receivable which represents a contract asset. This contract asset is recorded as an unbilled receivable and reported as part of accounts receivable on the condensed consolidated balance sheets. The Company had no long-term trade receivables at December 31, 2017. Trade receivables are periodically evaluated for collectability based on past credit history of the respective customers and their current financial condition. Changes in the estimated collectability of trade receivables are included in the results of operations for the period in which the estimate is revised. Trade receivables that are deemed uncollectible are offset against the allowance for doubtful accounts. The Company generally does not require collateral for trade receivables. There was no allowance for doubtful accounts recorded at September 30, 2018 or December 31, 2017. Customer deposits represent payments received in advance of system installation. For domestic and international sales, advance payments received prior to inventory shipments and customer acceptance are recorded as customer deposits. Advance payments are subsequently reclassified to deferred revenue upon inventory shipment when the title and risk of loss of inventory items transfer to customers. All customer deposits, including those that are expected to be a deposit for more than one year, are classified as current liabilities based on consideration of the Company’s normal operating cycle (the time between acquisition of the inventory components and the final cash collection from customers on these inventory components) which is in excess of one year. Deferred revenue consists of deferred product revenue and deferred service revenue. Deferred product revenue arises from timing differences between the fulfillment of contract obligations and satisfaction of all revenue recognition criteria consistent with the Company’s revenue recognition policy. Deferred service revenue results from the advance billing for services to be delivered over a period of time. Deferred revenues expected to be realized within one year or normal operating cycle are classified as current liabilities. Deferred cost of revenue consists of cost for inventory items that have been shipped with title and risk of loss transferred to the customer, but the customer acceptance has not yet been received. Deferred cost of revenue is included as part of current assets as the corresponding deferred product revenue is expected to be realized within one year or the Company’s normal operating cycle. During the three and nine months ended September 30, 2018, the Company recognized $12.2 million and $18.3 million revenue that was included in the deferred revenue balance at the beginning of each reporting period. During the three and nine months ended September 30, 2017, the Company recognized $9.0 million and $5.8 million revenue that was included in the deferred revenue balance at the beginning of each reporting period. Variable Consideration The Company records revenue from customers in an amount that reflects the transaction price it expects to be entitled to after transferring control of those goods or services. The Company estimates the transaction price at contract inception, including any variable consideration, and updates the estimate each reporting period for any changes. During the three and nine months ended September 30, 2018, one of the contracts contained variable consideration, which is attributed to an asserted penalty that the Company is disputing related to a system installation for one customer. The Company estimated the variable consideration based on the best information available to management and applied the most likely amount method to estimate the transaction price. The transaction price, which includes variable consideration reflecting the impact of the asserted penalty dispute, may be subject to constraint and is included in the net revenues only to the extent that it is probable that a significant reversal of the amount of the cumulative revenues recognized will not occur in a future period when the uncertainty is subsequently resolved. The net transaction price after reducing the variable consideration was then proportionally allocated to all the distinct performance obligations in the transaction. The Company will update the estimate of the variable consideration at each reporting period until the uncertainty is resolved. Practical Expedients Election As part of the Company's adoption of ASC 606, the Company elected to use the practical expedient to expense costs to obtain a contract as incurred when the amortization period would have been one year or less. Such costs include the Company's internal sales force compensation program. |
Recent Accounting Pronouncements | Recent Accounting Pronouncements In February 2016, the Financial Accounting Standards Board, or FASB, issued Accounting Standards Update, or ASU, No. 2016-02, Leases (Topic 842) In June 2018, the FASB issued ASU No. 2018-07, Compensation — Stock Compensation (Topic 718): Improvements to Nonemployee Share-Based Payment Accounting In August 2018, the FASB issued ASU No. 2018-13, Fair Value Measurement (Topic 820): Disclosure Framework- Changes to the Disclosure Requirements for Fair Value Measurement, |
Recently Adopted Accounting Pronouncements | Recently Adopted Accounting Pronouncements In May 2014, the FASB issued ASC 606. Under the standard, revenue is recognized when a customer obtains control of promised goods or services in an amount that reflects the consideration the entity expects to receive in exchange for those goods or services. Effective January 1, 2018, the Company adopted the requirements of ASC 606 using the full retrospective method. The adoption had no impact on the prior period financial statements, and the related disclosures required by the new standard have been updated in the “Significant Accounting Policies” section above. On January 1, 2018, the Company adopted ASU No.2016-15 , Statement of Cash Flows (Topic 230): Classification of Certain Cash Receipts and Cash Payments Statement of Cash Flows (Topic 230): Restricted Cash Under ASU 2016-18, restricted cash and restricted cash equivalent amounts are presented along with cash and cash equivalents when reconciling the total beginning and ending amounts shown on the statements of cash flows. The Company reflected the impact of ASU 2016-18 to the comparative prior period which resulted in an increase in the beginning and ending cash, cash equivalents and restricted cash of $ In May 2017, the FASB issued ASU No. 2017-09 , Compensation-Stock Compensation (Topic 718): Scope of Modification Accounting I n the first quarter of 2018, the Company adopted ASU No. 2018-05, Income Taxes (Topic 740): Amendments to SEC Paragraphs Pursuant to SEC Staff Accounting Bulletin No. 118, which included amendments to expand income tax accounting and disclosure guidance pursuant to SEC Staff Accounting Bulletin No. 118, or SAB 118, issued by the SEC in December 2017. SAB 118 provides guidance on accounting for the income tax effects of the Tax Reform Act. Refer to Note 12, Income Taxes, for more information and disclosures related to this amended guidance. |
Summary of Significant Accoun_3
Summary of Significant Accounting Policies (Tables) | 9 Months Ended |
Sep. 30, 2018 | |
Accounting Policies [Abstract] | |
Schedule of Revenue Disaggregated by Types and Geography | The following table presents revenue disaggregated by type and geography (in thousands): Three Months Ended September 30, Nine Months Ended September 30, U.S. 2018 2017 2018 2017 Product $ 6,187 $ 5,739 $ 25,775 $ 5,739 Service 566 388 1,464 1,579 Total U.S. revenue $ 6,753 $ 6,127 $ 27,239 $ 7,318 Outside of U.S. ("OUS") Product $ 10,305 $ 5,619 $ 31,462 $ 5,619 Service 490 333 1,242 829 Distribution rights 118 118 356 356 Total OUS revenue $ 10,913 $ 6,070 $ 33,060 $ 6,804 Total Product $ 16,492 $ 11,358 $ 57,237 $ 11,358 Service 1,056 721 2,706 2,408 Distribution rights 118 118 356 356 Total revenue $ 17,666 $ 12,197 $ 60,299 $ 14,122 |
Balance Sheet Components (Table
Balance Sheet Components (Tables) | 9 Months Ended |
Sep. 30, 2018 | |
Balance Sheet Related Disclosures [Abstract] | |
Schedule of Property and Equipment | Property and equipment consisted of the following (in thousands): September 30, 2018 December 31, 2017 Prototype $ 12,425 $ 11,929 Machinery and equipment 11,684 7,831 Leasehold improvements 4,327 4,438 Software 1,244 1,142 Furniture and fixtures 588 558 Property and equipment, gross 30,268 25,898 Less: accumulated depreciation and amortization (16,816 ) (14,334 ) Property and equipment, net $ 13,452 $ 11,564 |
Schedule of Accrued Liabilities | Accrued liabilities consisted of the following (in thousands): September 30, 2018 December 31, 2017 Accrued payroll and related benefits $ 5,951 $ 3,944 Accrued accounts payable 2,642 2,671 Payroll withholding tax, sales and other tax payable 4,733 149 Accrued legal, accounting and professional fees 498 322 Other 56 121 Total accrued liabilities $ 13,880 $ 7,207 |
Schedule of Deferred Revenue | Deferred revenue consisted of the following (in thousands): September 30, 2018 December 31, 2017 Deferred revenue: Product $ 7,478 $ 18,861 Service 6,053 1,182 Distribution rights 2,990 3,346 Total deferred revenue 16,521 23,389 Less: current portion of deferred revenue (11,315 ) (20,151 ) Noncurrent portion of deferred revenue $ 5,206 $ 3,238 |
Schedule of Other Long Term Liabilities | Other Long-Term Liabilities September 30, 2018 December 31, 2017 Accrued interest, noncurrent portion $ 8,777 $ 6,218 Deferred rent, noncurrent portion 492 167 Other 585 985 Total other-long term liabilities $ 9,854 $ 7,370 |
Fair Value of Financial Instr_2
Fair Value of Financial Instruments (Tables) | 9 Months Ended |
Sep. 30, 2018 | |
Fair Value Disclosures [Abstract] | |
Schedule of Fair Value of Financial Liabilities | The following table sets forth the fair value of the Company’s financial liabilities by level within the fair value hierarchy (in thousands): At September 30, 2018 Level 1 Level 2 Level 3 Total 2017 Placement Warrants Liability $ — $ — $ 12,400 $ 12,400 2016 Placement Warrants Liability — — 9,562 9,562 Total $ — $ — $ 21,962 $ 21,962 At December 31, 2017 Level 1 Level 2 Level 3 Total 2017 Placement Warrants Liability $ — $ — $ 12,487 $ 12,487 2016 Placement Warrants Liability — — 9,933 9,933 Total $ — $ — $ 22,420 $ 22,420 |
Summary of Changes in Fair Value of Level 3 Financial Liabilities | The following table sets forth a summary of the changes in fair value of the Company’s Level 3 financial liabilities (in thousands): Nine Months Ended September 30, 2018 2017 Fair value, beginning of period $ 22,420 $ 2,723 Issuance of 2017 Placement Warrants — 3,373 Fair value of common stock warrants reclassified from liability to additional paid-in capital upon exercise (342 ) — Change in fair value of Level 3 financial liabilities (116 ) 6,739 Fair value, end of period $ 21,962 $ 12,835 |
Commitments and Contingencies (
Commitments and Contingencies (Tables) | 9 Months Ended |
Sep. 30, 2018 | |
Commitments And Contingencies Disclosure [Abstract] | |
Schedule of Future Minimum Lease Payments Under Noncancelable Operating Lease Agreements | At September 30, 2018, the future minimum payments for the operating leases were as follows (in thousands): Year Ending December 31, Future Payments The remainder of 2018 $ 322 2019 2,039 2020 2,321 2021 2,391 2022 2,463 Thereafter 6,709 Total future minimum payments $ 16,245 |
Warrants (Tables)
Warrants (Tables) | 9 Months Ended |
Sep. 30, 2018 | |
Equity [Abstract] | |
Schedule of Key Terms of Placement Warrants | The key terms of the 2017 and 2016 Placement Warrants are as follows: Issuance Date Term Exercise Price Per Share Warrants Exercised during the Nine Months Ended September 30, 2018 Warrants Outstanding at September 30, 2018 2017 Placement Warrants January 2017 7 years $ 3.17 — 1,711,123 2016 Placement Warrants August and September 2016 7 years $ 2.95 44,183 1,311,458 Total 44,183 3,022,581 |
Summary of Assumptions using Black- Scholes Option Pricing Model to estimate fair value | The fair value of the 2016 and 2017 Placement Warrants at September 30, 2018 and December 31, 2017, respectively, was estimated using the Black-Scholes option-pricing model and the following weighted-average assumptions: 2017 Placement Warrants 2016 Placement Warrants September 30, 2018 December 31, 2017 September 30, 2018 December 31, 2017 Expected term (in years) 5.3 6.1 4.9 5.7 Expected volatility 59.6% 62.3% 59.7% 62.1% Risk-free interest rate 3.0% 2.3% 2.9% 2.2% Expected dividend yield 0% 0% 0 0% |
Stock-Based Compensation (Table
Stock-Based Compensation (Tables) | 9 Months Ended |
Sep. 30, 2018 | |
Disclosure Of Compensation Related Costs Sharebased Payments [Abstract] | |
Summary of Company's Stock Option Activity and Related Information | A summary of the Company’s stock option activity and related information is as follows: Options Outstanding Shares Available for Grant Number of Stock Options Outstanding Weighted- Average Exercise Price Weighted- Average Remaining Contractual Life (Years) Aggregate Intrinsic Value (In thousands) Balance at December 31, 2017 969,783 8,592,747 $ 3.69 7.4 $ 47,864 Additional options authorized 8,326,158 — Options granted (5,716,505 ) 5,716,505 8.66 Options exercised — (1,607,108 ) 2.22 Options canceled 801,933 (801,933 ) 6.00 RSUs granted (1,767,542 ) — Balance at September 30, 2018 2,613,827 11,900,211 $ 6.12 7.3 $ 39,509 Vested and exercisable at September 30, 2018 4,731,731 $ 3.57 5.1 $ 27,404 Vested and expected to vest at September 30, 2018 11,397,852 $ 6.06 7.2 $ 38,576 |
Schedule of Weighted-Average Assumptions Used in Black-Scholes Option-Pricing Model to Estimate Fair Value of Employee Stock Option at Grant Date | Nine Months Ended September 30, 2018 2017 Expected term (in years) 6.0 6.0 Expected volatility% 60.4% 66.9% Risk-free interest rate% 2.8% 2.1% Expected dividend yield% 0.0% 0.0% |
Summary of Restricted Stock Units | RSUs Number of Shares Weighted Average Grant Date Fair Value Unvested at December 31, 2017 — $ — RSUs granted 1,767,542 9.65 RSUs vested (20,109 ) 10.31 Unvested at September 30, 2018 1,747,433 $ 9.64 Vested and unreleased 130,889 Outstanding at September 30, 2018 1,878,322 |
Summary of Stock-Based Compensation Expense | Total stock-based compensation expense recognized in the Company’s condensed consolidated statements of operations and comprehensive loss is classified as follows (in thousands): Three Months Ended September 30, Nine Months Ended September 30, 2018 2017 2018 2017 Research and development $ 511 $ 221 $ 1,061 $ 602 Selling and marketing 234 70 555 193 General and administrative 6,434 693 8,436 1,971 Total stock-based compensation expense $ 7,179 $ 984 $ 10,052 $ 2,766 |
Net Loss per Share (Tables)
Net Loss per Share (Tables) | 9 Months Ended |
Sep. 30, 2018 | |
Earnings Per Share [Abstract] | |
Anti-Dilutive Securities Excluded from Calculation of Diluted Net Loss Per Share | Since the Company was in a loss position for all periods presented, diluted net loss per common share is the same as basic net loss per common share for all periods presented, because the inclusion of all potential common shares outstanding would have an anti-dilutive effect. The following weighted-average common stock equivalents were excluded from the calculation of diluted net loss per share for the periods presented, because including them would have an anti-dilutive effect: Three Months Ended September 30, Nine Months Ended September 30, 2018 2017 2018 2017 Series A convertible preferred stock (if converted) — — 494,601 — Options to purchase common stock 11,769,686 8,099,577 10,028,174 7,741,118 Common stock warrants 4,694,837 3,428,248 4,441,885 3,321,110 Restricted stock units 1,457,638 93,614 576,464 105,493 Total 17,922,161 11,621,439 15,541,124 11,167,721 |
Background and Organization - A
Background and Organization - Additional Information (Detail) - USD ($) $ in Thousands | 3 Months Ended | 9 Months Ended | |||
Sep. 30, 2018 | Sep. 30, 2017 | Sep. 30, 2018 | Sep. 30, 2017 | Dec. 31, 2017 | |
Organization Consolidation And Presentation Of Financial Statements [Abstract] | |||||
Net loss | $ (32,852) | $ (11,216) | $ (59,656) | $ (47,530) | |
Net cash used from operations | (77,429) | $ (43,694) | |||
Cash and cash equivalents | $ 201,543 | $ 201,543 | $ 57,389 |
Summary of Significant Accoun_4
Summary of Significant Accounting Policies - Additional Information (Detail) - USD ($) | Aug. 31, 2016 | Sep. 30, 2018 | Sep. 30, 2017 | Sep. 30, 2018 | Sep. 30, 2017 | Jan. 01, 2018 | Dec. 31, 2017 |
Significant Accounting Policies [Line Items] | |||||||
Long-term trade receivables | $ 400,000 | $ 400,000 | $ 0 | ||||
Long-term trade credit maintenance services term | 1 year | ||||||
Allowance for doubtful accounts | 0 | $ 0 | $ 0 | ||||
Deferred revenue, recognized | 12,200,000 | $ 9,000,000 | 18,300,000 | $ 5,800,000 | |||
Operating leases future minimum payments due | $ 16,245,000 | $ 16,245,000 | |||||
ASU No. 2016-18 | |||||||
Significant Accounting Policies [Line Items] | |||||||
Increase in cash, cash equivalents and restricted cash | $ 1,100,000 | ||||||
Minimum | |||||||
Significant Accounting Policies [Line Items] | |||||||
Expected long-term trade receivables collection period | 3 years | ||||||
Maximum | |||||||
Significant Accounting Policies [Line Items] | |||||||
Expected long-term trade receivables collection period | 4 years | ||||||
Itochu Corporation Agreement | |||||||
Significant Accounting Policies [Line Items] | |||||||
Remaining term of distribution agreement | 8 years 6 months | 8 years 6 months | 8 years 6 months | ||||
Itochu Corporation Agreement | Distribution Rights | |||||||
Significant Accounting Policies [Line Items] | |||||||
Distribution revenue reclassified as deferred revenue | $ 4,000,000 | $ 4,000,000 | $ 4,000,000 |
Summary of Significant Accoun_5
Summary of Significant Accounting Policies - Summary of Revenue Disaggregated by Types and Geography (Detail) - USD ($) $ in Thousands | 3 Months Ended | 9 Months Ended | ||
Sep. 30, 2018 | Sep. 30, 2017 | Sep. 30, 2018 | Sep. 30, 2017 | |
Disaggregation Of Revenue [Line Items] | ||||
Product, service and distribution rights revenue | $ 17,666 | $ 12,197 | $ 60,299 | $ 14,122 |
Product | ||||
Disaggregation Of Revenue [Line Items] | ||||
Product, service and distribution rights revenue | 16,492 | 11,358 | 57,237 | 11,358 |
Service | ||||
Disaggregation Of Revenue [Line Items] | ||||
Product, service and distribution rights revenue | 1,056 | 721 | 2,706 | 2,408 |
Distribution Rights | ||||
Disaggregation Of Revenue [Line Items] | ||||
Product, service and distribution rights revenue | 118 | 118 | 356 | 356 |
U.S. | ||||
Disaggregation Of Revenue [Line Items] | ||||
Product, service and distribution rights revenue | 6,753 | 6,127 | 27,239 | 7,318 |
U.S. | Product | ||||
Disaggregation Of Revenue [Line Items] | ||||
Product, service and distribution rights revenue | 6,187 | 5,739 | 25,775 | 5,739 |
U.S. | Service | ||||
Disaggregation Of Revenue [Line Items] | ||||
Product, service and distribution rights revenue | 566 | 388 | 1,464 | 1,579 |
Outside of U.S. ("OUS") | ||||
Disaggregation Of Revenue [Line Items] | ||||
Product, service and distribution rights revenue | 10,913 | 6,070 | 33,060 | 6,804 |
Outside of U.S. ("OUS") | Product | ||||
Disaggregation Of Revenue [Line Items] | ||||
Product, service and distribution rights revenue | 10,305 | 5,619 | 31,462 | 5,619 |
Outside of U.S. ("OUS") | Service | ||||
Disaggregation Of Revenue [Line Items] | ||||
Product, service and distribution rights revenue | 490 | 333 | 1,242 | 829 |
Outside of U.S. ("OUS") | Distribution Rights | ||||
Disaggregation Of Revenue [Line Items] | ||||
Product, service and distribution rights revenue | $ 118 | $ 118 | $ 356 | $ 356 |
Balance Sheet Components - Sche
Balance Sheet Components - Schedule of Property and Equipment (Detail) - USD ($) $ in Thousands | Sep. 30, 2018 | Dec. 31, 2017 |
Property Plant And Equipment [Line Items] | ||
Property and equipment, gross | $ 30,268 | $ 25,898 |
Less: accumulated depreciation and amortization | (16,816) | (14,334) |
Property and equipment, net | 13,452 | 11,564 |
Prototype | ||
Property Plant And Equipment [Line Items] | ||
Property and equipment, gross | 12,425 | 11,929 |
Machinery and Equipment | ||
Property Plant And Equipment [Line Items] | ||
Property and equipment, gross | 11,684 | 7,831 |
Leasehold Improvements | ||
Property Plant And Equipment [Line Items] | ||
Property and equipment, gross | 4,327 | 4,438 |
Software | ||
Property Plant And Equipment [Line Items] | ||
Property and equipment, gross | 1,244 | 1,142 |
Furniture and Fixtures | ||
Property Plant And Equipment [Line Items] | ||
Property and equipment, gross | $ 588 | $ 558 |
Balance Sheet Components - Addi
Balance Sheet Components - Additional Information (Detail) - USD ($) $ in Thousands | 3 Months Ended | 9 Months Ended | ||
Sep. 30, 2018 | Sep. 30, 2017 | Sep. 30, 2018 | Sep. 30, 2017 | |
Balance Sheet Related Disclosures [Abstract] | ||||
Depreciation and amortization | $ 906 | $ 565 | $ 2,500 | $ 1,600 |
Balance Sheet Components - Sc_2
Balance Sheet Components - Schedule of Accrued Liabilities (Detail) - USD ($) $ in Thousands | Sep. 30, 2018 | Dec. 31, 2017 |
Payables And Accruals [Abstract] | ||
Accrued payroll and related benefits | $ 5,951 | $ 3,944 |
Accrued accounts payable | 2,642 | 2,671 |
Payroll withholding tax, sales and other tax payable | 4,733 | 149 |
Accrued legal, accounting and professional fees | 498 | 322 |
Other | 56 | 121 |
Total accrued liabilities | $ 13,880 | $ 7,207 |
Balance Sheet Components - Sc_3
Balance Sheet Components - Schedule of Deferred Revenue (Detail) - USD ($) $ in Thousands | Sep. 30, 2018 | Dec. 31, 2017 |
Deferred Revenue [Line Items] | ||
Total deferred revenue | $ 16,521 | $ 23,389 |
Less: current portion of deferred revenue | (11,315) | (20,151) |
Noncurrent portion of deferred revenue | 5,206 | 3,238 |
Product | ||
Deferred Revenue [Line Items] | ||
Total deferred revenue | 7,478 | 18,861 |
Service | ||
Deferred Revenue [Line Items] | ||
Total deferred revenue | 6,053 | 1,182 |
Distribution Rights | ||
Deferred Revenue [Line Items] | ||
Total deferred revenue | $ 2,990 | $ 3,346 |
Balance Sheet Components - Sc_4
Balance Sheet Components - Schedule of Other Long Term Liabilities (Detail) - USD ($) $ in Thousands | Sep. 30, 2018 | Dec. 31, 2017 |
Payables And Accruals [Abstract] | ||
Accrued interest, noncurrent portion | $ 8,777 | $ 6,218 |
Deferred rent, noncurrent portion | 492 | 167 |
Other | 585 | 985 |
Total other-long term liabilities | $ 9,854 | $ 7,370 |
Fair Value of Financial Instr_3
Fair Value of Financial Instruments - Additional Information (Detail) - USD ($) | 3 Months Ended | 9 Months Ended | ||
Sep. 30, 2018 | Sep. 30, 2017 | Sep. 30, 2018 | Sep. 30, 2017 | |
Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation [Line Items] | ||||
Change in fair value of Level 3 financial liabilities | $ 116,000 | $ (6,739,000) | ||
Two Thousand Sixteen And Two Thousand Seventeen Private Placement Warrants | ||||
Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation [Line Items] | ||||
Change in fair value of Level 3 financial liabilities | $ (6,700,000) | $ 2,300,000 | 400,000 | $ (6,700,000) |
Transfers between Level 1 to Level 2 | 0 | 0 | ||
Transfers between Level 2 to Level 1 | $ 0 | 0 | ||
Transfers into or out of Level 3 | $ 0 |
Fair Value of Financial Instr_4
Fair Value of Financial Instruments - Schedule of Fair Value of Financial Liabilities (Detail) - USD ($) $ in Thousands | Sep. 30, 2018 | Dec. 31, 2017 |
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items] | ||
Placement Warrants Liability | $ 21,962 | $ 22,420 |
Fair Value Measurement on Recurring Basis | ||
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items] | ||
Placement Warrants Liability | 21,962 | 22,420 |
Fair Value Measurement on Recurring Basis | 2017 Placement Warrants | ||
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items] | ||
Placement Warrants Liability | 12,400 | 12,487 |
Fair Value Measurement on Recurring Basis | 2016 Placement Warrants | ||
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items] | ||
Placement Warrants Liability | 9,562 | 9,933 |
Level 1 | Fair Value Measurement on Recurring Basis | ||
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items] | ||
Placement Warrants Liability | 0 | 0 |
Level 1 | Fair Value Measurement on Recurring Basis | 2017 Placement Warrants | ||
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items] | ||
Placement Warrants Liability | 0 | 0 |
Level 1 | Fair Value Measurement on Recurring Basis | 2016 Placement Warrants | ||
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items] | ||
Placement Warrants Liability | 0 | 0 |
Level 2 | Fair Value Measurement on Recurring Basis | ||
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items] | ||
Placement Warrants Liability | 0 | 0 |
Level 2 | Fair Value Measurement on Recurring Basis | 2017 Placement Warrants | ||
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items] | ||
Placement Warrants Liability | 0 | 0 |
Level 2 | Fair Value Measurement on Recurring Basis | 2016 Placement Warrants | ||
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items] | ||
Placement Warrants Liability | 0 | 0 |
Level 3 | Fair Value Measurement on Recurring Basis | ||
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items] | ||
Placement Warrants Liability | 21,962 | 22,420 |
Level 3 | Fair Value Measurement on Recurring Basis | 2017 Placement Warrants | ||
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items] | ||
Placement Warrants Liability | 12,400 | 12,487 |
Level 3 | Fair Value Measurement on Recurring Basis | 2016 Placement Warrants | ||
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items] | ||
Placement Warrants Liability | $ 9,562 | $ 9,933 |
Fair Value of Financial Instr_5
Fair Value of Financial Instruments - Summary of Changes in Fair Value of Level 3 Financial Liabilities (Detail) - USD ($) $ in Thousands | 9 Months Ended | |
Sep. 30, 2018 | Sep. 30, 2017 | |
Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation [Line Items] | ||
Fair value, beginning of period | $ 22,420 | $ 2,723 |
Fair value of common stock warrants reclassified from liability to additional paid-in capital upon exercise | (342) | 0 |
Change in fair value of Level 3 financial liabilities | (116) | 6,739 |
Fair value, end of period | 21,962 | 12,835 |
2017 Placement Warrants | ||
Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation [Line Items] | ||
Issuance of Placement Warrants | $ 0 | $ 3,373 |
Debt - Additional Information (
Debt - Additional Information (Detail) - USD ($) | Jun. 26, 2015 | Oct. 31, 2017 | Apr. 30, 2017 | May 31, 2016 | Sep. 30, 2018 | Jun. 30, 2016 | Mar. 31, 2016 |
Debt Instrument [Line Items] | |||||||
Maximum borrowing capacity | $ 50,000,000 | ||||||
Current borrowing capacity | 30,000,000 | ||||||
Remaining borrowing capacity | $ 5,000,000 | $ 20,000,000 | $ 20,000,000 | ||||
Debt drawn | $ 30,000,000 | $ 0 | $ 15,000,000 | ||||
Debt maturity date | Jun. 30, 2020 | ||||||
Interest payment end date | Mar. 31, 2020 | ||||||
Frequency of periodic payment | quarterly | ||||||
Debt Instrument Interest Payment Period | 3 years | ||||||
Debt instrument interest rate percentage | 12.50% | ||||||
Debt instrument cash interest rate percentage | 8.00% | ||||||
Deferred payment in-kind interest rate | 4.50% | ||||||
Facility fee | 7.00% | ||||||
Term loan first amendment description | In March 2016, the Company amended the agreement with regard to the conditions for borrowing the remaining $20.0 million under the CRG Term Loan if certain product and service revenue amounts were achieved. | ||||||
Term loan second, third and fourth amendment description | In April and October 2017, and in February 2018, the Company executed three amendments, which allowed the Company to borrow the remaining $5.0 million through June 30, 2017, included an additional $15.0 million borrowing capacity available through December 31, 2017, extended the interest-only and payment in-kind period, decreased the combined 2016 and 2017 revenue covenant, and increased the facility fee by 1.75%. | ||||||
Additional borrowing capacity | $ 15,000,000 | ||||||
Existing capacity extended expiration date | Jun. 30, 2017 | ||||||
Additional capacity extended expiration date | Dec. 31, 2017 | ||||||
Increase in facility fee | 1.75% | ||||||
Amount outstanding under the agreement | $ 45,000,000 | ||||||
Deferred payment in-kind interest | $ 6,500,000 | ||||||
First 12 Months | |||||||
Debt Instrument [Line Items] | |||||||
Prepayment penalty | 3.00% | ||||||
After Year 1 but on or Before Year 2 | |||||||
Debt Instrument [Line Items] | |||||||
Prepayment penalty | 2.00% | ||||||
After Year 2 but on or Before Year 3 | |||||||
Debt Instrument [Line Items] | |||||||
Prepayment penalty | 1.00% | ||||||
After Year 3 Thereafter Until Maturity | |||||||
Debt Instrument [Line Items] | |||||||
Prepayment penalty | 0.00% |
Commitments and Contingencies -
Commitments and Contingencies - Additional Information (Detail) | 1 Months Ended | 9 Months Ended | |||
Jun. 30, 2018 | Jun. 30, 2014ft² | Sep. 30, 2018USD ($)ft² | Apr. 30, 2018ft² | Dec. 31, 2017USD ($) | |
Operating Leased Assets [Line Items] | |||||
Purchase commitments | $ | $ 0 | $ 0 | |||
Lease Agreement | Oakwood Village, Ohio | |||||
Operating Leased Assets [Line Items] | |||||
Area of land | 19,800 | ||||
Lease agreement, expiration date | Oct. 31, 2019 | ||||
Lease agreement, option to extend expiration date | Oct. 31, 2021 | ||||
Lease Agreement | Mountain View, California | |||||
Operating Leased Assets [Line Items] | |||||
Area of land | 25,500 | 24,600 | |||
Lease agreement, expiration date | Jul. 31, 2025 | Nov. 30, 2019 | |||
Lease agreement, term of contract | 7 years | ||||
Lease Agreement | Mountain View, California | Maximum | |||||
Operating Leased Assets [Line Items] | |||||
Lease agreement, renewal term | 5 years |
Commitments and Contingencies_2
Commitments and Contingencies - Schedule of Future Minimum Lease Payments Under Noncancelable Operating Lease Agreements (Detail) $ in Thousands | Sep. 30, 2018USD ($) |
Operating Leases Future Minimum Payments Due [Abstract] | |
The remainder of 2018 | $ 322 |
2,019 | 2,039 |
2,020 | 2,321 |
2,021 | 2,391 |
2,022 | 2,463 |
Thereafter | 6,709 |
Total future minimum payments | $ 16,245 |
Distribution Agreement - Additi
Distribution Agreement - Additional Information (Detail) - Itochu Corporation Agreement $ in Thousands | Aug. 31, 2016 | Dec. 31, 2014USD ($)Installment | Sep. 30, 2018USD ($) | Sep. 30, 2017USD ($) | Sep. 30, 2018USD ($) | Sep. 30, 2017USD ($) |
Marketing Agreement [Line Items] | ||||||
Number of installments | Installment | 3 | |||||
Remaining term of distribution agreement | 8 years 6 months | 8 years 6 months | 8 years 6 months | |||
Distribution rights revenue | $ 118 | $ 118 | $ 356 | $ 356 | ||
Distribution Rights | ||||||
Marketing Agreement [Line Items] | ||||||
Distribution fees | $ 4,000 |
Equity Financing - Additional I
Equity Financing - Additional Information (Detail) - USD ($) | Aug. 17, 2018 | Aug. 14, 2018 | Feb. 28, 2018 | Oct. 31, 2017 | Jan. 31, 2017 | Sep. 30, 2018 | Sep. 30, 2017 | Apr. 30, 2017 |
2017 Placement Warrants | ||||||||
Equity Financing [Line Items] | ||||||||
Warrants to purchase common stock, shares | 1,720,512 | |||||||
Warrant exercise price | $ 3.17 | $ 3.17 | ||||||
Warrant expiration date | Jan. 31, 2024 | |||||||
Warrant exercisable date | Jul. 31, 2017 | |||||||
Underwriters | Common Stock | ||||||||
Equity Financing [Line Items] | ||||||||
Underwriting agreement date | Aug. 14, 2018 | |||||||
Number of shares issued in transaction | 16,216,217 | |||||||
Sale of stock, price | $ 9.25 | |||||||
Option to purchase additional shares | 30 days | |||||||
Aggregate proceeds from issuance of common stock | $ 161,900,000 | |||||||
Underwriters | Common Stock | Maximum | ||||||||
Equity Financing [Line Items] | ||||||||
Number of additional shares issued in transaction | 2,432,432 | |||||||
2017 Direct Registered Offering | ||||||||
Equity Financing [Line Items] | ||||||||
Aggregate proceeds from issuance of common stock | $ 49,900,000 | |||||||
2017 Direct Registered Offering | Common Stock | ||||||||
Equity Financing [Line Items] | ||||||||
Stock issued during period | 8,382,643 | |||||||
March 2018 Direct Registered Offering | ||||||||
Equity Financing [Line Items] | ||||||||
Warrants to purchase common stock, shares | 1,418,116 | |||||||
Proceed from private placement and equity issuances, gross | $ 59,100,000 | |||||||
Warrant exercise price | $ 8.31 | |||||||
Warrant expiration date | Mar. 31, 2025 | |||||||
March 2018 Direct Registered Offering | Common Stock | ||||||||
Equity Financing [Line Items] | ||||||||
Stock issued during period | 4,090,000 | |||||||
March 2018 Direct Registered Offering | Series A Convertible Preferred Stock | ||||||||
Equity Financing [Line Items] | ||||||||
Stock issued during period | 3,000,581 | |||||||
2017 Private Placement | Common Stock | ||||||||
Equity Financing [Line Items] | ||||||||
Number of shares issued in transaction | 8,602,589 | |||||||
Proceed from private placement and equity issuances, gross | $ 26,100,000 | |||||||
At The Market Offering Program | ||||||||
Equity Financing [Line Items] | ||||||||
Aggregate proceeds from issuance of common stock | $ 278,000 | $ 40,126,000 | ||||||
Average market price per share | $ 8.41 | |||||||
At The Market Offering Program | Maximum | ||||||||
Equity Financing [Line Items] | ||||||||
Maximum aggregate offering price | $ 75,000,000 | |||||||
Maximum common stock saleable shares, value | $ 50,000,000 | |||||||
At The Market Offering Program | Common Stock | ||||||||
Equity Financing [Line Items] | ||||||||
Stock issued during period | 33,097 |
Convertible Preferred Stock - A
Convertible Preferred Stock - Additional Information (Detail) - USD ($) $ / shares in Units, $ in Millions | 1 Months Ended | |||
Mar. 31, 2018 | Sep. 30, 2018 | Apr. 19, 2018 | Dec. 31, 2017 | |
Convertible Preferred Stock [Line Items] | ||||
Preferred stock conversion rate | 100.00% | |||
Convertible preferred stock, shares outstanding | 0 | 0 | ||
Series A Convertible Preferred Stock | 2018 Direct Registered Offering | ||||
Convertible Preferred Stock [Line Items] | ||||
Convertible preferred stock, shares issued | 3,000,581 | |||
Stock price | $ 8.31 | |||
Convertible preferred stock, beneficial conversion feature | $ 2.7 |
Warrants - Additional Informati
Warrants - Additional Information (Detail) - USD ($) $ / shares in Units, $ in Thousands | 1 Months Ended | 3 Months Ended | 9 Months Ended | |||||
Aug. 31, 2015 | Jul. 31, 2015 | Sep. 30, 2018 | Mar. 31, 2018 | Sep. 30, 2017 | Sep. 30, 2018 | Sep. 30, 2017 | Dec. 31, 2013 | |
Common Stock Warrants [Line Items] | ||||||||
Placement warrants not excercised and remained outstanding | 3,022,581 | 3,022,581 | ||||||
(Gain) loss related to change in fair value | $ (116) | $ 6,739 | ||||||
Equity Classified Common Stock Warrants | ||||||||
Common Stock Warrants [Line Items] | ||||||||
Warrants issued | 128,231 | |||||||
Exercise price | $ 5.84 | |||||||
Common stock warrants, expiration date | Dec. 16, 2023 | |||||||
2015 Placement Equity Classified Common Stock Warrants | Insiders | ||||||||
Common Stock Warrants [Line Items] | ||||||||
Warrants issued | 198,760 | 198,760 | ||||||
Exercise price | $ 5 | $ 5 | ||||||
Common stock warrants, expiry term | 5 years | 5 years | ||||||
Number of warrant exercised | 159,010 | |||||||
Stock issued during period | 92,487 | |||||||
Placement warrants not excercised and remained outstanding | 39,750 | 39,750 | ||||||
Equity Classified Common Stock 2018 Offering Warrants | ||||||||
Common Stock Warrants [Line Items] | ||||||||
Warrants issued | 1,418,116 | |||||||
Exercise price | $ 8.31 | |||||||
Common stock warrants, expiration date | Mar. 31, 2025 | |||||||
Equity Classified Common Stock 2018 Offering Warrants | 2018 Direct Registered Offering | ||||||||
Common Stock Warrants [Line Items] | ||||||||
Proceed from private placement and equity issuances, gross | $ 59,100 | |||||||
Fair value of warrants upon issuance | 7,400 | |||||||
Allocated portion of proceeds from issuance of stock and warrants | $ 6,600 | |||||||
Equity Classified Common Stock 2018 Offering Warrants | 2018 Direct Registered Offering | Expected Term | ||||||||
Common Stock Warrants [Line Items] | ||||||||
Warrants, fair value measurement inputs | 7 years | |||||||
Equity Classified Common Stock 2018 Offering Warrants | 2018 Direct Registered Offering | Expected Volatility | ||||||||
Common Stock Warrants [Line Items] | ||||||||
Warrants, fair value measurement inputs | 62.50% | |||||||
Equity Classified Common Stock 2018 Offering Warrants | 2018 Direct Registered Offering | Risk-free Interest Rate | ||||||||
Common Stock Warrants [Line Items] | ||||||||
Warrants, fair value measurement inputs | 2.80% | |||||||
Equity Classified Common Stock 2018 Offering Warrants | 2018 Direct Registered Offering | Expected Dividend Yield | ||||||||
Common Stock Warrants [Line Items] | ||||||||
Warrants, fair value measurement inputs | 0.00% | |||||||
2016 and 2017 Placement Warrants | ||||||||
Common Stock Warrants [Line Items] | ||||||||
(Gain) loss related to change in fair value | $ 6,700 | $ (2,300) | $ (400) | $ 6,700 |
Warrants - Schedule of Key Term
Warrants - Schedule of Key Terms of Placement Warrants (Detail) - $ / shares | 9 Months Ended | |
Sep. 30, 2018 | Jan. 31, 2017 | |
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items] | ||
Warrants Exercised | 44,183 | |
Warrants Outstanding | 3,022,581 | |
2017 Placement Warrants | ||
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items] | ||
Issuance Date | 2017-01 | |
Term | 7 years | |
Exercise Price Per Share | $ 3.17 | $ 3.17 |
Warrants Outstanding | 1,711,123 | |
2016 Placement Warrants | ||
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items] | ||
Issuance Date | 2016-08 | |
Issuance Date | 2016-09 | |
Term | 7 years | |
Exercise Price Per Share | $ 2.95 | |
Warrants Exercised | 44,183 | |
Warrants Outstanding | 1,311,458 |
Warrants - Summary of Assumptio
Warrants - Summary of Assumptions to Use Option Pricing Model (Detail) | 9 Months Ended | 12 Months Ended |
Sep. 30, 2018 | Dec. 31, 2017 | |
2017 Placement Warrants | Expected Term | ||
Fair Value Inputs1 Liabilities Quantitative Information [Line Items] | ||
Expected term (in years) | 5 years 3 months 18 days | 6 years 1 month 6 days |
2017 Placement Warrants | Expected Volatility | ||
Fair Value Inputs1 Liabilities Quantitative Information [Line Items] | ||
Warrants, fair value measurement inputs | 59.60% | 62.30% |
2017 Placement Warrants | Risk-free Interest Rate | ||
Fair Value Inputs1 Liabilities Quantitative Information [Line Items] | ||
Warrants, fair value measurement inputs | 3.00% | 2.30% |
2017 Placement Warrants | Expected Dividend Yield | ||
Fair Value Inputs1 Liabilities Quantitative Information [Line Items] | ||
Warrants, fair value measurement inputs | 0.00% | 0.00% |
2016 Placement Warrants | Expected Term | ||
Fair Value Inputs1 Liabilities Quantitative Information [Line Items] | ||
Expected term (in years) | 4 years 10 months 24 days | 5 years 8 months 12 days |
2016 Placement Warrants | Expected Volatility | ||
Fair Value Inputs1 Liabilities Quantitative Information [Line Items] | ||
Warrants, fair value measurement inputs | 59.70% | 62.10% |
2016 Placement Warrants | Risk-free Interest Rate | ||
Fair Value Inputs1 Liabilities Quantitative Information [Line Items] | ||
Warrants, fair value measurement inputs | 2.90% | 2.20% |
2016 Placement Warrants | Expected Dividend Yield | ||
Fair Value Inputs1 Liabilities Quantitative Information [Line Items] | ||
Warrants, fair value measurement inputs | 0.00% | 0.00% |
Stock-Based Compensation - Summ
Stock-Based Compensation - Summary of Company's Stock Option Activity and Related Information (Detail) - USD ($) $ / shares in Units, $ in Thousands | 9 Months Ended | 12 Months Ended |
Sep. 30, 2018 | Dec. 31, 2017 | |
Shares Available for Grant | ||
Shares Available for Grant, Beginning balance | 969,783 | |
Shares Available for Grant, Additional options authorized | 8,326,158 | |
Shares Available for Grant, Options granted | (5,716,505) | |
Shares Available for Grant, Options canceled | 801,933 | |
Shares Available for Grant, Ending balance | 2,613,827 | 969,783 |
Shares Available for Grant, RSUs granted | (1,767,542) | |
Number of Stock Options Outstanding | ||
Number of Stock Options Outstanding, Beginning balance | 8,592,747 | |
Number of Stock Options Outstanding, Options granted | 5,716,505 | |
Number of Stock Options Outstanding, Options exercised | (1,607,108) | |
Number of Stock Options Outstanding, Options canceled | (801,933) | |
Number of Stock Options Outstanding, Ending balance | 11,900,211 | 8,592,747 |
Number of Stock Options Outstanding, Vested and exercisable | 4,731,731 | |
Number of Stock Options Outstanding, Vested and expected to vest | 11,397,852 | |
Weighted- Average Exercise Price | ||
Weighted- Average Exercise Price, Beginning balance | $ 3.69 | |
Weighted- Average Exercise Price, Options granted | 8.66 | |
Weighted- Average Exercise Price, Options exercised | 2.22 | |
Weighted- Average Exercise Price, Options canceled | 6 | |
Weighted- Average Exercise Price, Ending balance | 6.12 | $ 3.69 |
Weighted- Average Exercise Price, Vested and exercisable | 3.57 | |
Weighted- Average Exercise Price, Vested and expected to vest | $ 6.06 | |
Weighted- Average Remaining Contractual Life (Years) | ||
Options Outstanding, Weighted- Average Remaining Contractual Life (Years) | 7 years 3 months 18 days | 7 years 4 months 24 days |
Weighted- Average Remaining Contractual Life (Years), Vested and exercisable | 5 years 1 month 6 days | |
Weighted- Average Remaining Contractual Life (Years), Vested and expected to vest | 7 years 2 months 12 days | |
Aggregate Intrinsic Value | ||
Aggregate Intrinsic Value | $ 39,509 | $ 47,864 |
Aggregate Intrinsic Value, Vested and exercisable | 27,404 | |
Aggregate Intrinsic Value, Vested and expected to vest | $ 38,576 |
Stock-Based Compensation - Addi
Stock-Based Compensation - Additional Information (Detail) | 1 Months Ended | 3 Months Ended | 9 Months Ended | |||
Jul. 30, 2018Officer | Nov. 30, 2017Officer | Sep. 30, 2018USD ($)shares | Sep. 30, 2017USD ($) | Sep. 30, 2018USD ($)$ / sharesshares | Sep. 30, 2017USD ($)$ / sharesshares | |
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | ||||||
Grant date fair value of options granted, per share | $ / shares | $ 5.02 | $ 3.18 | ||||
Grant date fair value of options vested | $ 4,300,000 | $ 2,900,000 | ||||
Aggregate intrinsic value of option exercised | 11,600,000 | 1,800,000 | ||||
Unrecognized compensation cost | $ 28,900,000 | $ 28,900,000 | ||||
Weighted average period for recognition of compensation costs | 3 years 3 months 18 days | |||||
RSUs Granted | shares | 1,767,542 | |||||
Stock based compensation expenses | 7,179,000 | $ 984,000 | $ 10,052,000 | 2,766,000 | ||
Stock-based compensation expense capitalized | 0 | $ 0 | 0 | 0 | ||
Stock-based compensation | $ 10,052,000 | $ 2,766,000 | ||||
Separation and Consulting Agreement | ||||||
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | ||||||
Stock-based compensation | $ 3,700,000 | |||||
Separation and Consulting Agreement | Maximum | Key Executive One Individual | ||||||
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | ||||||
Vesting period | 12 months | |||||
Separation and Consulting Agreement | Maximum | Key Executive Two Individuals | ||||||
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | ||||||
Vesting period | 6 months | |||||
Restricted Stock Units (RSUs) | ||||||
Share Based Compensation Arrangement By Share Based Payment Award [Line Items] | ||||||
Weighted average period for recognition of compensation costs | 2 years 9 months 18 days | |||||
Number of executive officer | Officer | 2 | 1 | ||||
Vesting period | 3 years | |||||
RSUs Granted | shares | 1,800,000 | 0 | ||||
Stock based compensation expenses | $ 1,200,000 | $ 0 | ||||
Unrecognized stock based compensation cost | $ 14,600,000 | $ 14,600,000 | ||||
Shares expected to vest | shares | 1,627,261 | 1,627,261 |
Stock-Based Compensation - Sche
Stock-Based Compensation - Schedule of Weighted-Average Assumptions Used in Black-Scholes Option-Pricing Model to Estimate Fair Value of Employee Stock Option at Grant Date (Detail) | 9 Months Ended | |
Sep. 30, 2018 | Sep. 30, 2017 | |
Disclosure Of Compensation Related Costs Sharebased Payments [Abstract] | ||
Expected term (in years) | 6 years | 6 years |
Expected volatility% | 60.40% | 66.90% |
Risk-free interest rate% | 2.80% | 2.10% |
Expected dividend yield% | 0.00% | 0.00% |
Stock-Based Compensation - Su_2
Stock-Based Compensation - Summary of Restricted Stock Units (Detail) | 9 Months Ended |
Sep. 30, 2018$ / sharesshares | |
Disclosure Of Compensation Related Costs Sharebased Payments [Abstract] | |
Unvested at December 31, 2017, Number of Shares | 0 |
RSUs granted, Number of Shares | 1,767,542 |
RSUs vested, Number of Shares | (20,109) |
Unvested at September 30, 2018, Number of Shares | 1,747,433 |
Vested and unreleased, Number of Shares | 130,889 |
Outstanding at September 30, 2018, Number of Shares | 1,878,322 |
Unvested at December 31, 2017, Weighted Average Grant Date Fair Value | $ / shares | $ 0 |
RSUs granted, Weighted Average Grant Date Fair Value | $ / shares | 9.65 |
RSUs vested, Weighted Average Grant Date Fair Value | $ / shares | 10.31 |
Unvested at September 30, 2018, Weighted Average Grant Date Fair Value | $ / shares | $ 9.64 |
Stock-Based Compensation - Su_3
Stock-Based Compensation - Summary of Stock-Based Compensation Expense (Detail) - USD ($) $ in Thousands | 3 Months Ended | 9 Months Ended | ||
Sep. 30, 2018 | Sep. 30, 2017 | Sep. 30, 2018 | Sep. 30, 2017 | |
Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items] | ||||
Stock-based compensation expense | $ 7,179 | $ 984 | $ 10,052 | $ 2,766 |
Research and Development | ||||
Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items] | ||||
Stock-based compensation expense | 511 | 221 | 1,061 | 602 |
Selling and Marketing | ||||
Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items] | ||||
Stock-based compensation expense | 234 | 70 | 555 | 193 |
General and Administrative | ||||
Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items] | ||||
Stock-based compensation expense | $ 6,434 | $ 693 | $ 8,436 | $ 1,971 |
Income Tax - Additional Informa
Income Tax - Additional Information (Detail) - USD ($) | 3 Months Ended | 9 Months Ended | 12 Months Ended | ||
Sep. 30, 2018 | Sep. 30, 2017 | Sep. 30, 2018 | Sep. 30, 2017 | Dec. 31, 2017 | |
Income Tax Disclosure [Abstract] | |||||
Income tax expense | $ 0 | $ 0 | $ 0 | $ 0 | |
Federal statutory tax rate | 21.00% | 35.00% | |||
Federal and state effective tax rate before valuation allowance | 22.00% | ||||
Unrecognized tax benefits | $ 1,500,000 | $ 1,500,000 | $ 1,100,000 | ||
Accrued interest and penalties related to uncertain tax positions | $ 0 | $ 0 |
Net Loss Per Share - Anti-Dilut
Net Loss Per Share - Anti-Dilutive Securities Excluded from Calculation of Diluted Net Loss Per Share (Detail) - shares | 3 Months Ended | 9 Months Ended | ||
Sep. 30, 2018 | Sep. 30, 2017 | Sep. 30, 2018 | Sep. 30, 2017 | |
Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items] | ||||
Anti-dilutive securities excluded from calculation of diluted net loss per share | 17,922,161 | 11,621,439 | 15,541,124 | 11,167,721 |
Series A Convertible Preferred Stock (If Converted) | ||||
Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items] | ||||
Anti-dilutive securities excluded from calculation of diluted net loss per share | 0 | 0 | 494,601 | 0 |
Options To Purchase Common Stock | ||||
Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items] | ||||
Anti-dilutive securities excluded from calculation of diluted net loss per share | 11,769,686 | 8,099,577 | 10,028,174 | 7,741,118 |
Common Stock Warrants | ||||
Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items] | ||||
Anti-dilutive securities excluded from calculation of diluted net loss per share | 4,694,837 | 3,428,248 | 4,441,885 | 3,321,110 |
Restricted Stock Units (RSUs) | ||||
Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items] | ||||
Anti-dilutive securities excluded from calculation of diluted net loss per share | 1,457,638 | 93,614 | 576,464 | 105,493 |
Related Party Transactions - Ad
Related Party Transactions - Additional Information (Detail) - USD ($) | 1 Months Ended | ||
Jan. 31, 2017 | Dec. 31, 2014 | Dec. 31, 2004 | |
University Of Florida Research Foundation | Licensing Agreements | |||
Related Party Transaction [Line Items] | |||
Common Stock granted in exchange for licensing | 33,652 | ||
Percentage of royalty payment based on sale | 1.00% | ||
Royalty payment per quarter | $ 50,000 | ||
Investment Manager of Investment Company | Sales Consulting Agreement [Member] | |||
Related Party Transaction [Line Items] | |||
Related party, agreement term | 1 year | ||
Related party, total consideration | $ 1,300,000 |