| Component: (Network and Table) | |
|---|---|
| Network | 00400 - Statement - Statements of Cash Flows (http://www.ocutx.com/role/StatementStatementsOfCashFlows)  | 
| Table | (Implied) | 
| Reporting Entity [Axis] | 0001393434 (http://www.sec.gov/CIK) | 
| Statement of Cash Flows [Abstract] | Period [Axis] | ||
|---|---|---|---|
2016-01-01 - 2016-12-31  | 2015-01-01 - 2015-12-31  | 2014-01-01 - 2014-12-31  | |
Statement of Cash Flows [Abstract]  | |||
Cash flows from operating activities:  | |||
Net loss  | (44,703,000)   | (39,748,000)   | (28,648,000)   | 
Adjustments to reconcile net loss to net cash used in operating activities  | |||
Stock-based compensation expense  | |||
Licensing and consultant fees paid in common stock  | |||
Non-cash interest expense  | |||
Depreciation and amortization expense  | |||
Revaluation of preferred stock warrants  | |||
Loss on extinguishment of debt  | |||
(Gain)/loss on disposal of property and equipment  | (  | ||
Purchase of premium on marketable securities  | (  | (  | (  | 
Amortization of premium on marketable securities  | |||
Changes in operating assets and liabilities:  | |||
Accounts receivable from related party  | |||
Accounts receivable  | (  | (  | |
Prepaid expenses and other current assets  | (  | (  | |
Inventory  | (  | (  | |
Accounts payable  | (  | ||
Accrued expenses and deferred rent  | |||
Deferred revenue  | (  | (  | (  | 
Net cash used in operating activities  | (  | (  | (  | 
Cash flows from investing activities:  | |||
Purchases of property and equipment  | (  | (  | (  | 
Proceeds from sale of property and equipment  | |||
Change in restricted cash  | (  | ||
Purchases of marketable securities  | (  | (  | (  | 
Proceeds from maturities of marketable securities  | |||
Net cash provided by (used in) investing activities  | (  | (  | |
Cash flows from financing activities:  | |||
Proceeds from issuance of notes payable and preferred stock warrants  | |||
Proceeds from exercise of stock options  | |||
Proceeds from issuance of common stock pursuant to employee stock purchase plan  | |||
Proceeds from issuance of public offering, net  | |||
Payments of offering costs  | (  | (  | (  | 
Payments of insurance costs financed by a third-party  | (  | (  | (  | 
Repayment of notes payable  | (  | (  | |
Net cash provided by financing activities  | |||
Net increase (decrease) in cash and cash equivalents  | (  | ||
Cash and cash equivalents at beginning of period  | 30,784,000    | ||
Cash and cash equivalents at end of period  | 32,936,000    | 30,784,000    | 37,393,000    | 
Supplemental disclosure of cash flow information:  | |||
Cash paid for interest  | |||
Supplemental disclosure of non-cash investing and financing activities:  | |||
Accretion of redeemable convertible preferred stock to redemption value  | 11,000    | ||
Conversion of redeemable convertible preferred stock to common stock  | |||
Conversion of warrants for redeemable convertible preferred stock to warrants for common stock  | |||
Additions to property and equipment included in accounts payable and accrued expenses  | |||
Insurance premium financed by a third party  | |||
Initial public offering costs included in accounts payable  | |||