EX-5.1 2 tm2120942d2_ex5-1.htm EXHIBIT 5.1

 

EXHIBIT 5.1

 

T:\tm2120942-2\tm2120942-2_nonfiling 

 

Nicole C. Brookshire

+1 617 937 2357

nbrookshire@cooley.com

 

June 29, 2021

 

MongoDB, Inc.

1633 Broadway, 38th Floor

New York, NY 10019

 

Ladies and Gentlemen:

 

We have acted as counsel to MongoDB Inc., a Delaware corporation (the “Company”), in connection with the filing of a Registration Statement on Form S-3 (the “Registration Statement”) by the Company under the Securities Act of 1933, as amended (the “Securities Act”), including a base prospectus (the “Base Prospectus”). The Base Prospectus provides it will be supplemented in the future by one or more prospectus supplements (each, a “Prospectus Supplement”) and provides for the registration by the Company of shares (the “Shares”) of Class A common stock, par value $0.001 per share, of the Company (“Common Stock”). The Shares are being registered for offer and sale from time to time pursuant to Rule 415 under the Securities Act.

 

In connection with this opinion, we have examined and relied upon originals, or copies certified to our satisfaction, of such records, documents, certificates, opinions, memoranda and other instruments as in our judgment are necessary or appropriate to enable us to render the opinion expressed below. As to certain factual matters, we have relied upon a certificate of an officer of the Company and have not independently verified such matters.

 

In rendering this opinion, we have assumed the genuineness of all signatures; the authenticity of all documents submitted to us as originals; the conformity to originals of all documents submitted to us as copies; the accuracy, completeness and authenticity of certificates of public officials; and the due authorization, execution and delivery of all documents where authorization, execution and delivery are prerequisites to the effectiveness of such documents. We have assumed that, at the time of issuance and sale of the Shares, a sufficient number of shares of Common Stock is authorized and available for issuance and that the consideration for the issuance and sale of the Shares is in an amount that is not less than the par value of the Common Stock.

 

Our opinion herein is expressed solely with respect to the General Corporation Law of the State of Delaware (the “DGCL”) as in effect on the date hereof. We express no opinion to the extent that any other laws are applicable to the subject matter hereof and express no opinion and provide no assurance as to compliance with any federal or state securities law, rule or regulation.

 

On the basis of the foregoing and in reliance thereon, and subject to the qualifications herein stated, we are of the opinion that, provided that (i) the Registration Statement and any required post-effective amendment thereto have become effective under the Securities Act and the Base Prospectus and any and all Prospectus Supplement(s) required by applicable laws have been delivered and filed as required by such laws; (ii) the issuance of the Shares has been duly authorized by all necessary corporate action on the part of the Company; (iii) the issuance and sale of the Shares do not violate any applicable law, are in conformity with the Company’s then operative certificate of incorporation and bylaws, do not result in a default under or breach of any agreement or instrument binding upon the Company and comply with any applicable requirement or restriction imposed by any court or governmental body having jurisdiction over the Company; and (iv) the certificates, if any, for the Shares have been duly executed by the Company, countersigned by the transfer agent therefor and duly delivered to the purchasers thereof against payment therefor, then the Shares, when issued and sold as contemplated in the Registration Statement, the Base Prospectus and the related Prospectus Supplement(s) and in accordance with a duly authorized, executed and delivered purchase, underwriting or similar agreement, will be validly issued, fully paid and non-assessable.

 

Cooley LLP 500 Boylston Street Boston MA 02116 - 3736

t: (617) 937-2357 f: (617) 937-2400 cooley.com 

 

 

 

T:\tm2120942-2\tm2120942-2_nonfiling 

 

June 29, 2021

Page Two 

 

We hereby consent to the filing of this opinion as an exhibit to the Registration Statement and to the reference to our firm under the caption “Legal Matters” in the Base Prospectus.

 

Our opinion set forth above is limited to the matters expressly set forth in this letter, and no opinion is implied or may be inferred beyond the matters expressly stated. This opinion speaks only as to law and facts in effect or existing as of the date hereof, and we undertake no obligation or responsibility to update or supplement this opinion to reflect any facts or circumstances that may hereafter come to our attention or any changes in law that may hereafter occur.

 

Sincerely,

 

Cooley LLP

 

By: /s/ Nicole C. Brookshire  
     
Nicole C. Brookshire  

 

Cooley LLP 500 Boylston Street Boston MA 02116 - 3736

t: (617) 937-2357 f: (617) 937-2400 cooley.com