Attached files

file filename
EX-23.1 - EX-23.1 - Couchbase, Inc.d162679dex231.htm
S-1MEF - S-1MEF - Couchbase, Inc.d162679ds1mef.htm

Exhibit 5.1

 

LOGO   

Wilson Sonsini Goodrich & Rosati

Professional Corporation

650 Page Mill Road

Palo Alto, California 94304-1050

o: 650.493.9300

f: 650.493.6811

July 21, 2021

Couchbase, Inc.

3250 Olcott Street

Santa Clara, CA 95054

 

Re:

Registration Statement on Form S-1

Ladies and Gentlemen:

This opinion is furnished to you in connection with the Registration Statement on Form S-1, as amended (the “Registration Statement”), filed by Couchbase, Inc. (the “Company”) with the Securities and Exchange Commission pursuant to Rule 462(b) of the Securities Act of 1933, as amended (the “Securities Act”), in connection with the registration under the Securities Act of 1,539,999 shares (including up to 200,869 shares issuable upon exercise of an option granted by the Company to the underwriters) of the Company’s common stock, $0.00001 par value per share (the “Shares”), to be issued and sold by the Company. The Registration Statement incorporates by reference the Registration Statement on Form S-1 (Registration No. 333-257205) (the “Prior Registration Statement”), which was declared effective on July 21, 2021, including the prospectus which forms part of the Registration Statement. We understand that the Shares are to be sold to the underwriters for resale to the public as described in the Registration Statement and the Prior Registration Statement and pursuant to an underwriting agreement, substantially in the form filed as an exhibit to the Prior Registration Statement, to be entered into by and among the Company and the underwriters (the “Underwriting Agreement”).

We are acting as counsel for the Company in connection with the sale of the Shares by the Company. In such capacity, we have examined originals or copies, certified or otherwise identified to our satisfaction, of such documents, corporate records, certificates of public officials and other instruments as we have deemed necessary for the purposes of rendering this opinion. In our examination, we have assumed the genuineness of all signatures, the authenticity of all documents submitted to us as originals, the conformity with the originals of all documents submitted to us as copies, the authenticity of the originals of such documents and the legal competence of all signatories to such documents.

We express no opinion herein as to the laws of any state or jurisdiction other than the General Corporation Law of the State of Delaware (including the statutory provisions and all applicable judicial decisions interpreting those laws) and the federal laws of the United States of America.


Couchbase, Inc.

July 21, 2021

Page 2

 

On the basis of the foregoing, we are of the opinion that upon the effectiveness of the Company’s Amended and Restated Certificate of Incorporation, a form of which has been filed as Exhibit 3.2 to the Prior Registration Statement, the Shares to be issued and sold by the Company have been duly authorized and, when such Shares are issued and paid for in accordance with the terms of the Underwriting Agreement, will be validly issued, fully paid and nonassessable.

We consent to the use of this opinion as an exhibit to the Registration Statement, and we consent to the reference of our name under the caption “Legal Matters” in the prospectus forming part of the Prior Registration Statement, which is incorporated by reference into the Registration Statement.

Very truly yours,

WILSON SONSINI GOODRICH & ROSATI

Professional Corporation

/s/  Wilson Sonsini Goodrich & Rosati, P.C.